5 ms·
I can understand rem units in font-size, but why use rem in media queries instead of px? The same with margins - when I get the PSD file from the designer, I w
by niutech 11y ago
I can understand rem units in font-size, but why use rem in media queries instead of px?
The same with margins - when I get the PSD file from the designer, I will have to convert all margins from px to rem.
- davemac8 11y agoFoundation has a Sass function to do this called rem-calc(pixel size), not sure if there is a Bootstrap equivalent.