News for hackers. Stuff that matters.
Re:The State of CSS 2019 by Theodores on Monday June 17, 2019 @08:50AM (#20202360)
True, you can have as many divs as you want. But it can't be in a more sensible element and there is no good reason with today's CSS layout to want to put it in untold wrappers. Maybe it is a react thing where everything has to be in div wrappers.

Anyway, if the spec matters more than the toolchain it should not be anywhere but directly under the body element.

Re:The State of CSS 2019 by korm on Monday June 17, 2019 @08:59AM (#20202443)
The comment you replied to points out that "main" can be inside a div according to the spec.

Also, React doesn't require the wrappers.