fromJulia Evans
1 week agoWeb development
Moving away from Tailwind, and learning to structure my CSS
Tailwind’s structured systems and reset styles can be imitated to build semantic HTML with maintainable vanilla CSS and avoid CSS chaos.
When CSS Grid layout was first released, it came with a big asterisk: only the grid's direct children could participate in the layout. "Subgrid" is a newer addition to CSS Grid which allows us to extend the grid layout down through the DOM tree. When I first heard about subgrid, it seemed to me like a convenience, a way to make it a bit simpler to accomplish the same stuff I was already doing.