IBM / css-gridish

Automatically build your grid design’s CSS Grid code, CSS Flexbox fallback code, Sketch artboards, and Chrome extension.
https://ibm.github.io/css-gridish/
Other
2.25k stars 113 forks source link

Rem unit is not defined in resulting CSS #18

Closed imkremen closed 6 years ago

imkremen commented 6 years ago

Font size for root element (<html>) is not defined, it's mistakenly defined for <body>.

seejamescode commented 6 years ago

Thanks for catching that, @imkremen! Can you share an example of when this is necessary?

imkremen commented 6 years ago

For now css-gridish work incorrect. Check your bootstrap example with dev-tools, in "css-gridish.json" rem unit set to 15px, but all calculated sizes based on 16px. image image

Here simple example https://codepen.io/imkremen/pen/OQgaWR