Last active
December 21, 2015 16:59
-
-
Save maxpelic/6337311 to your computer and use it in GitHub Desktop.
Slideout
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
/** | |
* Slideout | |
*/ | |
#slide{ | |
overflow:hidden; | |
color:red; | |
width:0px; | |
background-color:red; | |
height:50px; | |
transition:width 1s, color 1s, background-color .5s, box-shadow 1s; | |
font-family:Verdana; | |
text-align:right; | |
padding:15px; | |
position:fixed; | |
float:left | |
} | |
#silde a{ | |
} | |
#slide:hover { | |
width:200px; | |
color:white; | |
background-color:pink; | |
font-family:Arial bold, Arial, sans; | |
box-shadow:5px 0px 10px #999; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div id="slide">Text</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
// alert('Hello world!'); |
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":"separate","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