Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
// ----
// libsass (v0.7.0)
// ----
// works in libsass, not in ruby sass
$text-direction: ltr;
$text-direction: ltr !default;
@if $text-direction == ltr {
$default-float: left !default;
$opposite-direction: right !default;
} @else {
$default-float: right !default;
$opposite-direction: left !default;
}
.default-float-style {
float: $default-float;
}
.opposite-direction-style {
float: $opposite-direction;
}
.default-float-style {
float: left; }
.opposite-direction-style {
float: right; }
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.