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

Fixed the navigation bar and changed the header #12

Merged
merged 1 commit into from
Nov 26, 2019
Merged
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
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,26 @@

<body>
<div class="container">
<!-- code for the navigation bar -->
<div class="navigation">
<span class="name">
<b>superstar web dev</b>
<b>superstar dev</b>
</span>
<ul class="nav-list">
<li class="active">Home</li>
<li>About-Us</li>
<li>About Us</li>
<li>Resume</li>
<li>Services</li>
<li>Skills</li>
<li>Projects</li>
<li>My blog</li>
<li>Contact-Us</li>
<li>Contact Us</li>
</ul>

<div style="clear: both;"></div>
</div>

<!-- Code for the slider -->
<div class="slider">
<img class="slide1" src="http://pluspng.com/img-png/png-men-men-png-495.png" alt="">
<div class="slide-content">
Expand Down
21 changes: 11 additions & 10 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
background-color: rgb(0, 0, 0);
}

span.name{
float: left;
padding: 20px;
color: #fff;
padding-top: 15px;
font-size: 20px;
font-weight: bolder;
padding-left: 40px;
}

.scroll_button{
position: fixed;
Expand Down Expand Up @@ -99,15 +108,7 @@
div.btn-container{
width: 100%;
}
span.name{
float: left;
padding: 20px;
color: #fff;
padding-top: 15px;
font-size: 20px;
font-weight: bolder;
padding-left: 40px;
}

li{
display: inline-block;
text-align: right;
Expand All @@ -117,7 +118,7 @@
}

ul.nav-list{
margin-right: 120px;
float: right;
}
ul li {
font-weight: lighter;
Expand Down