r/web_design • u/[deleted] • Jun 19 '18
A question on CSS Grid template area
So I’m learning all about css grids. I can’t imagine myself using this feature in production though. Maybe only fast prototyping purposes? Am I right in thinking this?
1
Upvotes
2
u/Toucanic Jun 19 '18
Template area lets you target/fill specific areas of your layout by simply declaring which are they belong to. Plus it lets you visualize the layout in the code in some way.
A visual example is worth a thousand words:
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas
Very powerful/flexible when you switch from desktop to mobile layouts for example.