Xero'
KPCKevin Powell - Community
•Created by Xero' on 12/12/2023 in #front-end
Can we force a '%' value to be out of height instead of width ?
16 replies
KPCKevin Powell - Community
•Created by Xero' on 11/18/2022 in #front-end
Responsive card sizing
Hi,
I'm attempting to make a responsive layout for a card display. I have three objectives :
- Cards should all be the same size.
- There should be as many cards on a row as possible.
- Cards should expand to fill remaining space.
I tried it with flex in the following codepen. I could check the last two goals, but not the first one. How can i force the last one to have the same size as siblings ?
https://codepen.io/quentin7381/pen/WNyXEmq
5 replies
KPCKevin Powell - Community
•Created by Xero' on 11/10/2022 in #front-end
Is there a way to use a clamp as a var ?
I'm using the same clamp for some of my gaps and margins and i would like to store it in a var but it doesn't seems to work. It could also be useful for font sizing. Is there a way to do so ?
8 replies
KPCKevin Powell - Community
•Created by Xero' on 11/5/2022 in #front-end
Is there a way to pre-call font-sizing ?
13 replies