How do I approach this design ?

How do I approach this design and make it responsive ? What I am finding complex is the triangle. My initial thought was to just import it as png from figma and paste it in but as it contains some data so I thought it should be coded in html css
5 Replies
vince
vince2y ago
I'm bad with this stuff so might not be the best approach but I think you could do it like this: Make each triangle section background an svg. Make a box with a fixed height for each section, and then add the svg as a background image. Then just add text in the box and style it to match design
vince
vince2y ago
Nice use of aspect-ratio, I've only used it for images never thought about using it for something like this 👍
CodeNascher
CodeNascher2y ago
was the first thing i thought of, lol. could be polished a little more, but i made that in 5 mins or so 😛
Mahesh
MaheshOP2y ago
Woah cool, you just coded the whole solution. thank you so much !!! @vince Thanks for your suggestion as well.
Want results from more Discord servers?
Add your server