Chrislizardc
Chrislizardc
KPCKevin Powell - Community
Created by Chrislizardc on 10/11/2024 in #front-end
CH vs PX for container queries
Pixel change it is then (at least for a carousel of products ) Thank you all. Sidenote : There is nothing I hate more than making a product carousel in Vanilla Javascript
18 replies
KPCKevin Powell - Community
Created by Chrislizardc on 10/1/2024 in #front-end
Dealing with pseudo elements and background color
Block image is a flynt componenet itself but i can put an :after in the block-image and make it work yes you have a pretty good point. Thanks!
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?
I went with this , i somehow made it work clicking around , still gotta figure it out how cause its a bit messy : https://codepen.io/Christian-Stoyanov/pen/OJeKaQR Only reason im not sharing html is because i use twig (html + php + syntactic sugar in a way)
7 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?
Yeah you have a point. My qeustion is kinda dumb. So yeah i can add boxes or remove boxes and thats fine desktop wise. But what if i want depending on the number of boxes to either have a 2x2 layout on mobile (if its 4 boxes) or just 1 box per line( if its 3 boxes). it's impossible right ?
7 replies
KPCKevin Powell - Community
Created by snxxwyy on 9/14/2024 in #front-end
horizontal scrollbar disappears when an element is a container and you zoom
I added overflow: auto; to the .card and horizontal scrolling worked fine for me but maybe im missing something in your question
7 replies
KPCKevin Powell - Community
Created by Chrislizardc on 9/12/2024 in #front-end
Container query not working
Thanks dude, I was pulling my hair here, you saved me a lot of time
4 replies