Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
<div class="container">
<div class="test">hello</div>
<div class="test2">hello</div>
<div class="test">hello</div>
</div>
// ----
// libsass (v3.2.5)
// ----
@import 'susy';
.some-selector {
@include span(5);
[dir='rtl'] & {
@include with-layout(rtl) {
@include span(5);
}
}
}
.some-selector {
width: 126.31579%;
float: left;
margin-right: 5.26316%;
}
[dir='rtl'] .some-selector {
width: 126.31579%;
float: right;
margin-left: 5.26316%;
}
<div class="container">
<div class="test">hello</div>
<div class="test2">hello</div>
<div class="test">hello</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.