Skip to content

Instantly share code, notes, and snippets.

@chadsten
Created October 22, 2013 18:37
Show Gist options
  • Select an option

  • Save chadsten/7105763 to your computer and use it in GitHub Desktop.

Select an option

Save chadsten/7105763 to your computer and use it in GitHub Desktop.
/* Older Method
/* It's not bad, just harder to maintain
/* and can be a pain when doing true RWD
*/
/* @file style.css */
.something {
font-size: 12px;
}
/* @file resp.css */
@media all and (min-width: 480px) {
.something {
font-size: 14px;
}
}
/* Current Method
/* Just makes things make more sense
/* and embraces true mobile first
*/
/* @file style.css */
.something {
font-size: 12px;
@media all and (min-width: 480px) {
font-size: 14px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment