Created
July 29, 2015 09:52
-
-
Save ymatuhin/ebd701bf56af519074d1 to your computer and use it in GitHub Desktop.
New clearfix css from css-tricks
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
/* метод Ильи Стрельцына */ | |
.table { | |
padding: 0 10px; | |
background: #E76D13; | |
position: relative; | |
/* display: table */ | |
-height: 1%; /*IE6*/ | |
*zoom: 1; /*IE6-7*/ | |
display: table; | |
} | |
/* Очень важное дополнение! */ | |
.table:after { | |
/*content: '1 1';*/ /*Op15+*/ | |
content: '1 1 1 1 1 1 1 1 1 1 1'; /*Op12+*/ | |
font: .1px/0 a; | |
display: block; | |
word-spacing: 99in; | |
overflow: hidden; /*IE8-*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment