Skip to content

Instantly share code, notes, and snippets.

@sturobson
Forked from Integralist/Sass: right-to-left CSS.scss
Created April 10, 2013 16:10
Show Gist options
  • Save sturobson/5356029 to your computer and use it in GitHub Desktop.
Save sturobson/5356029 to your computer and use it in GitHub Desktop.
// Configuration
$rtl: true;
// Implementation
@function _($left, $right) {
@if $rtl {
@return $right;
} @else {
@return $left;
}
}
// Usage
.module {
float: _(left, right);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment