Created
January 4, 2012 18:20
-
-
Save anonymous/1561313 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nav a.main { | |
transition: border-color 4s; | |
-moz-transition: border-color 4s; | |
-ms-transition: border-color 4s; | |
-o-transition: border-color 4s; | |
-webkit-transition: border-color 4s; | |
display: block; | |
border-bottom:100px solid rgba(0,0,0,0.1); | |
} | |
nav li:hover a.main { | |
border-color:#e53b2c; | |
} | |
nav a.main:hover { | |
background-color:#ff6; | |
color: #444; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav class="sections"> | |
<ul class="clearfix"> | |
<li class="coding"> | |
<a href="#" class="main">Coding</a> | |
<ul> | |
<li><a href="#">CSS</a></li> | |
<li><a href="#">HTML</a></li> | |
<li><a href="#">JavaScript</a></li> | |
<li><a href="#">PHP</a></li> | |
</ul> | |
</li> | |
</ul> | |
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment