Created
July 12, 2020 04:36
-
-
Save andreferi3/146a987f5ea9a093fb24d3bc380c0327 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
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: inherit; | |
| } | |
| html { | |
| font-size: 62.5%; | |
| @include respond(tab-land) { // width < 1200px | |
| font-size: 56.25%; // 1 rem = 9px; 9/16 = 56.25% | |
| } | |
| @include respond(tab-port) { // width < 900px | |
| font-size: 50%; // 1 rem = 8px; 8/16 = 50% | |
| } | |
| @include respond(big-desktop) { | |
| font-size: 75%; // 1 rem = 12px; 12/16 = 75% | |
| } | |
| } | |
| body { | |
| box-sizing: border-box; | |
| padding: 3rem; | |
| @include respond(tab-port) { // width < 900px | |
| padding: 0; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment