This file contains 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
/* Define your base font-size here; most elements will inherit this. */ | |
html { | |
font-size: 16px; /* Assuming 16px... */ | |
line-height: 1.5; /* 24px (This is now our magic number; all subsequent margin-bottoms and line-heights want to be a multiple of this number in order to maintain vertical rhythm.) */ | |
} | |
/* Common margin-bottom for vertical rhythm. */ | |
h1,h2,h3,h4,h5,h6, | |
ul,ol,dl, | |
fieldset, |
This file contains 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
if (window.console) { | |
console.log('message'); | |
} |
This file contains 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
@mixin breakpoint($point, $value: 0) { | |
@if $point == mobile { | |
@media (min-width: 320px) { @content; } | |
} | |
@else if $point == mobile-horizontal { | |
@media (min-width: 480px) { @content; } | |
} |