Skip to content

Instantly share code, notes, and snippets.

@lozandier
Created November 14, 2015 16:56
Show Gist options
  • Select an option

  • Save lozandier/25a05b63c60293ae825d to your computer and use it in GitHub Desktop.

Select an option

Save lozandier/25a05b63c60293ae825d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
@mixin float($direction) {
float: $direction;
display: inline; // fixes IE6 double margin
}
h1 {
width: 200px;
@include float(left)
}
h2 {
width: right ;
@include float(right)
}
h1 {
width: 200px;
float: left;
display: inline;
}
h2 {
width: right;
float: right;
display: inline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment