<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="1st-style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Portfolio</title>
</head>
<body>
<nav>
<h1><span><i class="fa-solid fa-user-tie"></i> Potfolio:)</span></h1>
<ul>
<li><a><i class="fa-solid fa-house"></i> HOME</a></li>
<li><a> <i class="fa-solid fa-eject"></i> ABOUT</a></li>
<li><a><i class="fa-brands fa-servicestack"></i> SERVICES</a></li>
<li><a><i class="fa-solid fa-phone"></i> CONTACT</a></li>
<button>HIRE ME</button>
</ul>
</nav>
<div class="container">
<div class="text">
<h2>I'm TAHA SOHAIL :)</h2>
<h1>I'm WEB DEVELOPER!</h1>
<p>This is my Personal Portfolio Website, Where you find my work, <br> Experiance and More...</p>
<button><i class="fa-solid fa-download"></i> Download CV</button>
</div>
<div class="img">
<img src="https://i.ibb.co/Mf4B314/taha-1.png" alt="">
</div>
</div>
</body>
</html>
CSS_______________________________________________________________________________________CSS
* {
margin: 0;
padding: 0;
}
body {
background-color: #464646;
color: white;
}
nav {
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
background-color: gray;
padding: 30px;
display: flex;
justify-content: center;
justify-content: space-around;
}
nav h1 {
color: rgb(241, 42, 7);
font-size: 30px;
}
nav h1:hover {
color: black;
}
ul {
display: flex;
list-style: none;
}
ul li a {
margin-inline: 27px;
font-size: 20px;
}
ul li a:hover {
font-size: 22px;
color: black;
}
ul button {
font-size: 20px;
background-color: rgb(243, 45, 10);
color: wheat;
height: 35px;
width: 120px;
border: none;
cursor: pointer;
}
ul button:hover {
background-color: black;
font-size: 25px;
border: 2px solid white;
}
.container {
display: flex;
justify-content: space-around;
margin-top: 50px;
}
.text {
margin-top: 40px;
}
.text h2 {
color: black;
font-size: 30px;
}
.text h1 {
color: rgb(247, 41, 5);
font-size: 40px;
}
.text button {
margin-top: 20px;
font-size: 20px;
background-color: rgb(243, 48, 13);
color: white;
height: 50px;
width: 160px;
border: none;
cursor: pointer;
}
.text button:hover {
background-color: black;
font-size: 25px;
border: 2px solid white;
}
.img {
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter