Join the Webstudio community

Updated last month

the grid class on html tag on website made by webstudio

At a glance
I would like to know more about the grid class on html tag on website made by WebStudio, is it a common thing?
O
J
o
5 comments
do you mean display: grid on html element?
can't find an article right now for you, but mostly it was fixing bugs, as far as I can remember it was setting the height and probably also avoiding margin collapsing issues but I could be wrong
It is at least for ensuring the page is 100% height minimum. So if you have a page where the contents like header, body, and footer don't take up 100% of the user's viewport, the page wont show white at the bottom where the page doesn't expand to
Thanks a lot @Oleg Isonen and @John Siciliano for sharing information :). Sounds like a good practice then!
Add a reply
Sign up and join the conversation on Discord