Created
May 2, 2011 11:27
-
-
Save amitkaz/951470 to your computer and use it in GitHub Desktop.
RTL & LTR with sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user-box { | |
float: $dir; | |
padding: 0 5px; | |
} | |
#side-nav { | |
margin-#{$opdir}: 5px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dir: right; | |
$opdir: left; | |
body { | |
direction: rtl; | |
} | |
@import "app"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment