Skip to content

Commit

Permalink
21
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajrekwar committed Oct 24, 2023
1 parent 15b8a44 commit 97287f8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 15 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@
<span class="logo">NR</span>
<nav class="navigation">
<ul class="nav-links">
<li class="link"><a href="#about">Home</a></li>
<li class="link"><a href="#about">About</a></li>
<li class="link"><a href="#portfolio">Portfolio</a></li>
<li class="link"><a href="#contact">Contact</a></li>
<li class="nav-link"><a id="link" href="#about">Home</a></li>
<li class="nav-link"><a id="link" href="#about">About</a></li>
<li class="nav-link"><a id="link" href="#portfolio">Portfolio</a></li>
<li class="nav-link"><a id="link" href="#contact">Contact</a></li>
</ul>
</nav>
</header>
Expand Down
42 changes: 31 additions & 11 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,18 @@ section {
display: flex;
justify-content: space-between;
align-items: center;
border: 2px solid rgb(204, 216, 170);
/* border: 2px solid rgb(204, 216, 170); */
}
nav ul{
display: flex;
justify-content: space-between;
align-items: center;
}
nav{
border: 2px solid green;
/* border: 2px solid green; */
display: flex;
justify-content: space-between;
align-items: center;
}
.navigation .nav-links{

}
nav,
a {
Expand All @@ -84,9 +81,13 @@ a:hover {
text-decoration: none;
}

ul {
header .navigation .nav-links {
list-style: none;
border: 2px solid rgb(218, 64, 141);
/* border: 2px solid rgb(218, 64, 141); */
/* background: #519E8A; */
display: flex;
justify-content:center ;
align-items: center;
}

img {
Expand All @@ -105,12 +106,31 @@ nav ul li .link {
height: 45px;
width: 83px;
}


li {
margin: 5px;
.navigation{
display: flex;
align-items: center;
justify-content: center;
}

li #link{
margin: 10px;
display:flex ;
justify-content: center;
align-items: center;
}
#link{
height: 40px;
padding: 15px;
margin: 10px;
color: #404040;

}
#link:hover{
background: #f3ec85;
height: 40px;
padding: 15px;
margin: 10px;
}
footer {
display: flex;
/* border: 2px solid; */
Expand Down

0 comments on commit 97287f8

Please sign in to comment.