Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Portfolio Website With HTML and CSS only #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions Shubham_yeram/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Portfolio Website HTML CSS Only</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="header">
<a href="#" class="logo">Shubham.</a>

<nav class="navbar">
<a href="#" class="active">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Portfolio</a>
<a href="#">Contact</a>
</nav>
</header>

<section class="home">
<div class="home-content">
<h1>Hii, I'm Shubham Yeram</h1>
<h3>FullStack Developer</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.
Accusantium reprehenderit, non deleniti amet omnis id?</p>
<div class="btn-box">
<a href="#">Hire Me</a>
<a href="#">Let's Talk</a>
</div>
</div>
</section>

</body>
</html>
136 changes: 136 additions & 0 deletions Shubham_yeram/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;9007display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body{
background: #081b29;
color: #ededed;
}

.header{
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px 10%;
background: transparent;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}

.logo{
font-size: 25px;
color: #ededed;
text-decoration: none;
font-weight: 600;
}

.navbar a{
font-size: 18px;
color: #ededed;
text-decoration: none;
font-weight: 500;
margin-left: 35px;
transition: .3s;
}

.navbar a:hover,
.navbar a.active{
color: #00abf0;
}

.home{
height: 100vh;
display: flex;
align-items: center;
padding: 0, 10%;
}

.home-content{
max-width: 600px;
}

.home-content h1{
font-size: 56px;
font-weight: 700;
line-height: 1.2;
}

.home-content h3{
font-size: 32px;
font-weight: 700;
color: #00abf0;
}

.home-content p{
font-size: 16px;
margin: 20px 0 40px;
}

.home-content .btn-box{
display: flex;
justify-content: space-between;
width: 345px;
height: 50px;
}

.btn-box a{
position: relative;
display: inline-flex;
justify-content: center;
align-items: center;
width: 150px;
height: 100%;
background: #00abf0;
border: 2px solid #00abf0;
border-radius: 8px;
font-size: 19px;
color: #081b29;
text-decoration: none;
font-weight: 600;
letter-spacing: 1px;
z-index: 1;
overflow: hidden;
transition: .5s;
}

.btn-box a:hover{
color: #00abf0;
}

.btn-box a:nth-child(2){
background: transparent;
color: #00abf0;
}

.btn-box a:nth-child(2):hover{
color: #081b29;
}

.btn-box a:nth-child(2)::before{
background: #00abf0;
}

.btn-box a::before{
content: '';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: #081b29;
z-index: -1;
transition: .5s;
}

.btn-box a:hover::before{
width: 100%;
}