Skip to content

Instantly share code, notes, and snippets.

@williamdodson
Forked from peterwilsoncc/320up.less
Created December 7, 2011 17:09
Show Gist options
  • Save williamdodson/1443626 to your computer and use it in GitHub Desktop.
Save williamdodson/1443626 to your computer and use it in GitHub Desktop.
“Mobile first” CSS and getting LESS to help with legacy IE
.320up(){
.three20 {
color: #fff;
}
} /* end 320up mixin */
.base {
color: #000;
}
@import "subs/base.less";
@import "subs/320.less";
.320up();
@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