Skip to content

Commit

Permalink
Added cleared mixin which helps clear the element it is mixed into
Browse files Browse the repository at this point in the history
  • Loading branch information
James Hu committed Feb 10, 2012
1 parent 10f978d commit 13a3ff4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/css3/_cleared.scss
@@ -0,0 +1,10 @@
@mixin cleared ($clear: both) {
&:after {
clear: $clear;
display: block;
content: " ";
font-size: 0;
height: 0;
visibility: hidden;
}
}

0 comments on commit 13a3ff4

Please sign in to comment.