Created
June 9, 2012 00:47
-
-
Save anonymous/2898885 to your computer and use it in GitHub Desktop.
CSS By Gcyrillus find me on facebook or twitter
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
/* CSS By Gcyrillus find me on facebook or twitter | |
Send me a message even if it is not | |
to introduce yourself before requesting friendship :) | |
have fun with this one ! */ | |
body { | |
background:#333; | |
} | |
div.menu {width:185px; | |
background:hsl(20, 13%, 28%); | |
color:white; | |
font-family:arial; | |
margin:2em; | |
max-height:33px; | |
overflow:hidden; | |
border-bottom :1px solid hsl(28, 15%, 53%); | |
transition:2s; | |
position:relative; | |
} | |
div.menu:focus, div.menu:active { | |
max-height:400px; | |
transition:2s; | |
} | |
.fermoir {display:none;transition:0;cursor:pointer} | |
div:focus .fermoir { | |
position:absolute; | |
top:0; | |
left:0; | |
right:0; | |
height:34px; | |
margin:0; | |
transition:0; | |
background:rgba(0,0,0,0 .001); | |
display:block; | |
z-index:1; | |
} | |
div h2 { | |
font-size:14px; | |
font-variant:small-caps; | |
border:1px solid hsl(28, 15%, 53%); | |
padding:0 5px; | |
background-image: -moz-linear-gradient(90deg,#433935,#524640); | |
line-height:32px; | |
margin:0; | |
} | |
div h2:before { | |
content:''; | |
background: url(http://dmouronval.developpez.com/tutoriels/javascript/jquery/menu-anime/images/5.png) -5px -10px no-repeat; | |
height:20px;width:25px; | |
display:inline-block; | |
vertical-align:middle; | |
} | |
div h2:after { | |
content:''; | |
position:absolute; | |
height:19px; | |
width:19px; | |
right:7px; | |
top:6px; | |
background: url(http://dmouronval.developpez.com/tutoriels/javascript/jquery/menu-anime/images/5.png) -158px -8px no-repeat; | |
} | |
div ul {list-style-type:none; | |
margin:0; | |
padding:0; | |
line-height:34px; | |
font-size:0.8em; | |
text-transform:capitalize; | |
} | |
ul li a { | |
display:block; | |
text-indent:1em; | |
background:#362F2D; | |
border:1px solid hsl(28, 15%, 53%); | |
border-width: 0 1px 0 1px ; | |
text-decoration:none; | |
color:white; | |
width:183px; | |
} | |
ul li:nth-child(even) a { | |
background:#493E3B | |
} | |
ul li:last-child { | |
} |
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
<div tabindex="0" class="menu"> | |
<h2>NAVIGATE</h2> | |
<ul> | |
<li><a href="#">About about</a></li> | |
<li><a href="#">About closer</a></li> | |
<li><a href="#">about here</a></li> | |
<li><a href="#">right there</a></li> | |
<li><a href="#">but Me down !</a></li> | |
</ul> | |
<a href="#" class="fermoir" tabinde="0"></a> | |
</div> | |
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-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment