Create typography style
Published in
1 min readAug 31, 2017
When we design a typography style, we should think about what is different between mobile and desktop.
root: typography/scss/main.scss
h1 {
font-size: pxToRem(24);
font-weight: $font-bold;
margin: pxToRem(25) 0;@media #{$mq-large} {
font-size: pxToRem(72);
font-weight: $font-black;
margin: pxToRem(60) 0;
}
}