Chrislizardc
KPCKevin Powell - Community
•Created by Chrislizardc on 10/11/2024 in #front-end
CH vs PX for container queries
Hey all what is your opinion on using ch units for mobile responsiveness for example
Or is pixels betteer for width in your opinion. I have seen @Kevin Powell use ch for making mobile responsivenes containers, but isn't it clunky?
18 replies
KPCKevin Powell - Community
•Created by Chrislizardc on 10/1/2024 in #front-end
Dealing with pseudo elements and background color
3 replies
KPCKevin Powell - Community
•Created by Chrislizardc on 9/19/2024 in #front-end
How to Make a Responsive and Reusable Flexbox Component for Different Number of Boxes?
Hey everyone,
I’m working on a component that uses display: flex . Currently, I have 3 boxes that are working fine, and they adjust nicely when resized. However, I want this component to be reusable in other places where I might want 4 boxes, or even just 2 boxes, without having to rewrite the code.
My goal is to make the component flexible enough so that I can reuse it for any number of boxes (2, 3, or 4 boxes) . Is that possible?
7 replies
KPCKevin Powell - Community
•Created by Chrislizardc on 9/12/2024 in #front-end
Container query not working
Hello, my container query on .gridContainer is not working at all. If i change it to @media it works fine and dandy but the moment i try to use @container it just breaks and doesnt create me a 4 column layout on desktop as it should :
4 replies