Full Tutorial








Source Code

HTML Code 

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<title>ZOCIAL: Social Networking Website</title>
</head>
<body>

<header>
<nav>
<h1 class="logo"><span>Z</span>OCIAL</h1>
<ul class="nav-links">
<li><a href="#">Home</a></li>
<li><a href="#">Product</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Resource</a></li>
<li><a href="#">Sign In</a></li>
<li><button>Sign Up</button></li>
</ul>
</nav>

<div class="banner">
<div class="leftSide">
<h1>Control your <br><span>social</span> media <br>smartly</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
<div class="buttons">
<button class="btn1">Get Started</button>
<button class="btn2">Contact</button>
</div>
</div>

<div class="rightSide">
<img src="images/stats.png">
</div>
</div>
</header>


</body>
</html>


CSS Code 

*{
margin: 0;
padding: 0;
font-family: poppins;
}

nav{
padding: 10px 1cm;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background: darkgreen;
border-radius: 5px;
width: 80vw;
margin: auto;
}

nav .logo{
font-size: 0.8cm;
color: white;
}

nav .logo span{
color: limegreen;
}

nav .nav-links{
display: flex;
list-style: none;
align-items: center;
}

nav .nav-links li a{
text-decoration: none;
color: white;
margin-right: 0.7cm;
transition: 0.5s;
font-size: 17px;
}

nav .nav-links li a:hover{
color: limegreen;
}

nav .nav-links li button{
padding: 7px 30px;
background: red;
color: white;
border: none;
border-radius: 7px;
transition: 0.5s;
font-size: 17px;
margin-left: 10px;
}

nav .nav-links li button:hover{
background: orange;
}

header{
background: rgb(61,130,60);
background: radial-gradient(circle, rgba(61,130,60,1) 0%, rgba(32,65,24,1) 100%);
height: 100vh;
padding: 15px 3cm;
}

header .banner{
display: flex;
align-items: center;
height: 80vh;
}

header .banner .leftSide{
width: 50%;
padding-right: 2cm;
}

header .banner .leftSide h1{
color: limegreen;
font-size: 1.1cm;
margin-bottom: 0.5cm;
}

header .banner .leftSide h1 span{
color: white;
}

header .banner .leftSide p{
margin-bottom: 0.5cm;
color: white;
}

header .banner .leftSide .buttons button{
padding: 10px 35px;
border: none;
background: none;
border-radius: 8px;
font-weight: 500;
}

header .banner .leftSide .buttons .btn1{
color: white;
border: 2px solid orange;
background: orange;
margin-right: 0.2cm;
}

header .banner .leftSide .buttons .btn2{
border: 2px solid white;
color: orange;
transition: 0.5s;
}

header .banner .leftSide .buttons .btn2:hover{
background: white;
}

.rightSide img{
width: 15cm;
transition: 0.5s;
}

.rightSide img:hover{
transform: scale(1.06);
}



Subscribe To Our Channel For More Amazing Coding Content:-  CodeWikis