File tree Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Original file line number Diff line number Diff line change 3434 width : 940px ;
3535}
3636
37- /* http://sonspring .com/journal/clearing-floats */
37+ /* http://nicolasgallagher .com/micro-clearfix-hack/ */
3838
39- .clear {
40- clear : both;
41- display : block;
42- overflow : hidden;
43- visibility : hidden;
44- width : 0 ;
45- height : 0 ;
39+ .clearfix {
40+ * zoom : 1 ;
4641}
4742
48- /* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */
49-
50- .clearfix : before , .clearfix : after {
51- content : '\0020' ;
52- display : block;
53- overflow : hidden;
54- visibility : hidden;
55- width : 0 ;
56- height : 0 ;
43+ .clearfix : before ,
44+ .clearfix : after {
45+ content : "" ;
46+ display : table;
5747}
5848
5949.clearfix : after {
6050 clear : both;
6151}
62-
63- /* The following zoom:1 rule is specifically for IE6 + IE7. */
64-
65- .clearfix {
66- zoom : 1 ;
67- }
You can’t perform that action at this time.
0 commit comments