Skip to content

Instantly share code, notes, and snippets.

@elsayed85
Last active February 24, 2025 18:44
Show Gist options
  • Save elsayed85/50ec27993d43259e8657f568f565ae24 to your computer and use it in GitHub Desktop.
Save elsayed85/50ec27993d43259e8657f568f565ae24 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Portfolio</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
</head>
<body>
<header>
<a href="#" class="logo"> Youssef </a>
<nav class="navigation">
<a href="#skills"> Skills </a>
<a href="#projects"> Projects </a>
<a href="#contacts"> Contacts </a>
</nav>
</header>
<section class="main">
<div>
<h2>
Hello. I'm Youssef <br />
<span>I'm Software Developer</span>
</h2>
<h3>I build amazing programs and websites</h3>
<a href="#projects" class="main-btn">view my work</a>
<div class="social-icons">
<a href="#">
<i class="fab fa-linkedin"></i>
</a>
<a href="#">
<i class="fab fa-twitter"></i>
</a>
<a href="#">
<i class="fab fa-instagram"></i>
</a>
<a href="#">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</section>
</body>
</html>
header{
background-color : #f0f0f0;
width: 100%;
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 40px;
z-index: 99;
}
.logo {
color: #3a6cf4;
text-decoration:none;
text-transform: uppercase;
font-size: 1.8em;
font-weight: 700;
}
.navigation a {
color: #3a6cf4;
text-decoration:none;
font-size: 1.1em;
font-weight: 500;
padding-left: 30px;
}
.navigation a:hover {
color: #601cfc;
}
section {
padding: 100px 200px;
}
.main{
width: 100%;
min-height: 100px;
display: flex;
align-items: center;
background: url(images/background.jpeg) no-repeat;
background-size: cover;
background-position: center;
}
.main h2{
color: #fff;
font-size: 1.4em;
font-weight: 500;
}
.main h2 span {
display: inline-flex;
margin-top: 10px;
color: #4e9eff;
font-size: 3em;
font-weight: 600;
}
.main h3{
color: #966d6d;
font-size: 1.4em;
font-weight: 500;
}
.main-btn{
background-color: #3a6cf4;
text-decoration: none;
font-size: 1.1em;
font-weight: 600;
display: inline-block;
padding: 0.97em 2.18em;
letter-spacing: 1px;
border-radius: 15px;
margin-bottom: 40px;
transition: 0.7s ease;
}
.main-btn:hover{
background-color: #4e9eff;
transform: scale(1.1);
}
.social-icons a{
text-decoration: none;
color: #fff;
font-size: 1.7em;
padding-right: 33px;
}