Fixing card width
Hey, I don't understand how to make my cards width fit the content instead of being so large. Tbh I don't even know why they are being that fixed width. In the computed data of the devs tools it doesn't redirect me to any declared property (there isn't the right arrow) beside the value of the width.
I mean sure I can hard code the width of the card but I was searching for a way to make it fit the content inside automatically
2 Replies
Would need something like width: fit-content on .perk but it doesn't apply
Codepen: https://codepen.io/uzhas/pen/mdvOxey