Last active
August 29, 2015 14:11
-
-
Save zry656565/1d972548948a88be81a7 to your computer and use it in GitHub Desktop.
CSS-hack
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
/* clearfix */ | |
/*=============================*/ | |
.clearfix:before, .clearfix:after { content: ""; display: table; } | |
.clearfix:after { clear: both; } | |
/* IE 6/7 */ | |
.clearfix { zoom: 1; } | |
/* transparent */ | |
/* via http://perishablepress.com/cross-browser-transparency-via-css/ */ | |
/*=============================*/ | |
.transparent { | |
filter: alpha(opacity=50); /* internet explorer */ | |
-khtml-opacity: 0.5; /* khtml, old safari */ | |
-moz-opacity: 0.5; /* mozilla, netscape */ | |
opacity: 0.5; /* fx, safari, opera */ | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment