Created
October 22, 2013 18:37
-
-
Save chadsten/7105763 to your computer and use it in GitHub Desktop.
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
| /* 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