Variable Aspect Ratio Card With Conic Gradients Meeting Along the Diagonal

12 · CSS-Tricks · May 10, 2021, 3:07 p.m.
I recently came across an interesting problem. I had to implement a grid of cards with a variable (user-set) aspect ratio that was stored in a --ratio custom property. Boxes with a certain aspect ratio are a classic problem in … The post Variable Aspect Ratio Card With Conic Gradients Meeting Along the Diagonal appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....