Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added cleared mixin which helps clear the element it is mixed into

  • Loading branch information...
commit 13a3ff43ed309fe737e3fc925235a160bf6d2247 1 parent 10f978d
James Hu authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 app/assets/stylesheets/css3/_cleared.scss
View
10 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;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.