Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Clearing */
- .clearfix:after
- {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- .clearfix
- {display: inline-block;}
- /* Hides from IE-mac */
- * html .clearfix
- {height: 1%;}
- .clearfix
- {display: block;}
- /* End hide from IE-mac */
- // use class="clearfix" on any element containing floats that need to be cleared
- <div|span|p|any-element class="clearfix">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement