Skip to content

Instantly share code, notes, and snippets.

@jacobarriola
Created September 4, 2015 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobarriola/e06d06c1d2d3a8c676cd to your computer and use it in GitHub Desktop.
Save jacobarriola/e06d06c1d2d3a8c676cd to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<section class="tier1-event">
This is content
</section>
<section class="tier1-event">
This is content
</section>
<section class="tier1-event">
This is content
</section>
<p>I'm text</p>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
.property-transactions {
padding: rem-calc(10) 30px/2;
&__item {
display: flex;
font-size: rem-calc(14);
.secondary {
margin-left: auto;
}
body.no-flexbox & { // no flex fallback
.primary {
float: left;
}
.secondary {
float: right;
}
}
}
}
.property-transactions {
padding: rem-calc(10) 30px/2;
}
.property-transactions__item {
display: flex;
font-size: rem-calc(14);
}
.property-transactions__item .secondary {
margin-left: auto;
}
body.no-flexbox .property-transactions__item .primary {
float: left;
}
body.no-flexbox .property-transactions__item .secondary {
float: right;
}
<section class="tier1-event">
This is content
</section>
<section class="tier1-event">
This is content
</section>
<section class="tier1-event">
This is content
</section>
<p>I'm text</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment