Lexi
KPCKevin Powell - Community
•Created by Lexi on 12/3/2024 in #front-end
CSS Grid question (first row with 3 columns, second row with 4 columns)
Is there any easy way to set this up without having to declare strange spans? Or making the grid be 12 columns.
4 replies
KPCKevin Powell - Community
•Created by Lexi on 11/15/2024 in #front-end
CSS Grid not resizing on media query with new grid-template-columns
Full disclosure: I'm working in react using react.modules.css file structure.
I originally set up my grid-template-column as 1fr 1fr auto 2fr and I'm trying to change it to just a 1fr 1fr structure at smaller screen sizes. Not entirely sure what I'm doing wrong.
https://cherished-moments.vercel.app/ current deployed version of the code.
CSS
47 replies
KPCKevin Powell - Community
•Created by Lexi on 11/11/2024 in #front-end
Container grid system using react CSS modules, full-width being overridden by content-grid
I was following the "A new approach to container and wrapper classes" and trying to hook it up to a react project using CSS modules. However, when I use my full-width class it gets overwritten by the content-grid class. Is there an incapability with React CSS modules and this type of layout? Or am I missing something?
11 replies