-
-
Save alliwagner/2126856 to your computer and use it in GitHub Desktop.
LESS vs CSS
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
/* less file */ | |
.my_mixin { | |
display: block; | |
text-indent: -9999em; | |
background-color: transparent; | |
background-position: 0 0; | |
background-repeat: no-repeat; | |
overflow: hidden; | |
} | |
h1 a, .pagination em, .cog a { | |
.my_mixin | |
} | |
/* css file */ | |
.my_mixin { | |
display: block; | |
text-indent: -9999em; | |
background-color: transparent; | |
background-position: 0 0; | |
background-repeat: no-repeat; | |
overflow: hidden; | |
} | |
h1 a, .pagination em, .cog a { | |
display: block; | |
text-indent: -9999em; | |
background-color: transparent; | |
background-position: 0 0; | |
background-repeat: no-repeat; | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment