This file contains hidden or 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
ul { | |
margin: 20px; | |
padding: 0; | |
list-style-type: none; | |
text-align: center; | |
} | |
li { | |
display: inline-block; | |
margin: 0; |
This file contains hidden or 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 { position: absolute; left: 50%; width: 500px; margin-left: -250px; /*half the width of the div*/} |
This file contains hidden or 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
/* =Clearfix (all browsers)--------------------------------*/.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}/* IE6 */ * html .clearfix {height: 1%;}/* IE7 */*:first-child+html .clearfix {min-height: 1px;} |
This file contains hidden or 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
.clearing {clear:both; height:0; overflow:hidden; margin:-1px 0 0 0;} |
This file contains hidden or 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
.transparent_class { | |
/* IE 8 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; | |
/* IE 5-7 */ | |
filter: alpha(opacity=50); | |
/* Netscape */ | |
-moz-opacity: 0.5; |
This file contains hidden or 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
.shadow { | |
box-shadow: 5px 5px 5px #ccc; | |
-moz-box-shadow: 5px 5px 5px #ccc; | |
-webkit-box-shadow: 5px 5px 5px #ccc; | |
} |
This file contains hidden or 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 { | |
position: absolute; | |
left: -9999px; | |
} |
This file contains hidden or 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 Selectors */ | |
/*----------------------------------------------------------------------------------------*/ | |
* /* any element */ | |
E /* an element of type E */ | |
E[foo] /* an E element with a "foo" attribute */ | |
E[foo="bar"] /* an E element whose "foo" attribute exactly equal to "bar" */ | |
E[foo~="bar"] /* an E element whose "foo" attribute of whitespace-separated values, one of which is exactly equal to "bar" */ |
This file contains hidden or 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
input::-webkit-input-placeholder, | |
input:-moz-placeholder { | |
color: rgba(170,170,170,1); | |
} |
This file contains hidden or 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
/* glass */ | |
#poster:after { | |
content: -webkit-gradient(linear,left top, right top, | |
from(rgba(255,255,255,0.2)), | |
to(rgba(255,255,255,0.2)), | |
color-stop(0.5, rgba(255,255,255,0.5)), | |
color-stop(0.6, rgba(255,255,255,0.1)), | |
color-stop(0.605, rgba(255,255,255,0.1))); |