How to reduce space between two words vertically in css/html -


originally design looked this, , happy it, except loading time quite bad because big circle logo image.

enter image description here

so way think of speeding loading times change image css3, unfortunately haven't been able find nice replacement, have @ moment.

enter image description here

now main concern right trying lessen gap between "pavel" , "design" i'm not sure how.

on less important note if have method of me being able keep original design without horrible load times that'd good. tried decreasing img quality , size went 1.6mb 140kb , load still bad.

div.homepage {  	position: fixed;    	text-align: center;   	margin: 0 auto;  	left: 0;  	right: 0;  }    /* logo design */  div.circle {  	margin: 0 auto;  	border-radius: 50%;  	width: 900px;  	height: 900px;  	display: flex;  	justify-content: center;  	align-items: center;  	flex-direction: column;  }      p.pavel, p.design {  	font-family: 'open sans', sans-serif;  	font-size: 10em;  	color:	#708090;  }
<body>  	<div class="homepage">  		<div class="circle">  			<p class="pavel">pavel</p>  			<p class="design">design</p>  		</div>  		<ul>  			<li class="button"><a href="index.html" data-text="home">home</a></li>  			<li class="button"><a href="about.html" data-text="about">about</a></li>  			<li class="button"><a href="services.html" data-text="services">services</a></li>  			<li class="button"><a href="contact.html" data-text="contact">contact</a></li>  		</ul>  	</div>  </body

paragraph elements have margin default, if remove should closer each other vertically. can adjust margin or use padding spacing want.

p.pavel, p.design{     margin: 0; } 

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -