-
-
Save williamdodson/1443626 to your computer and use it in GitHub Desktop.
“Mobile first” CSS and getting LESS to help with legacy IE
This file contains hidden or 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
.320up(){ | |
.three20 { | |
color: #fff; | |
} | |
} /* end 320up mixin */ |
This file contains hidden or 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
.base { | |
color: #000; | |
} |
This file contains hidden or 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
@import "subs/base.less"; | |
@import "subs/320.less"; | |
.320up(); |
This file contains hidden or 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
@import "subs/base.less"; | |
@import "subs/320.less"; | |
@media (min-width:320px) { | |
.320up(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment