Skip to content

Commit

Permalink
Merge pull request #8 from chrom/zabara
Browse files Browse the repository at this point in the history
#4 zabara commit цудд вщту
  • Loading branch information
kulik committed Mar 29, 2016
2 parents 0156542 + 57fa976 commit a396707
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
<!DOCTYPE HTML>
<html>

<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<ul>
<li><a href="default.asp">Home</a></li>
<li><a href="news.asp">News</a></li>
<li><a href="contact.asp">Contact</a></li>
<li><a href="about.asp">About</a></li>
</ul>
Try it yourself »

<p>Header...</p>

Expand Down
29 changes: 29 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 1px solid #e7e7e7;
background-color: #f3f3f3;
}

li {
float: left;
}

li a {
display: block;
color: #666;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a:hover:not(.active) {
background-color: #ddd;
}

li a.active {
color: white;
background-color: #4CAF50;
}

0 comments on commit a396707

Please sign in to comment.