Svg background img

Hi, I'm having a problem with CSS. I need to do the following integration The rounding is in svg, but as my image is only 1500px wide, for high resolutions, I'm stuck. Do you have any idea how to do this for all resolutions? Thanks in advance, Yannick
No description
3 Replies
glloq8
glloq8OP5mo ago
Just to clarify, the svg contains the colour gold.
Jochem
Jochem5mo ago
an SVG doesn't have an inherent width, it's a vector graphic and can scale to any size if it's a raster image like a png or jpg, I'd suggest getting an svg, or just limiting that feature on the site to 1500px, it's usually wide enough for most content anyway
glloq8
glloq8OP5mo ago
In fact, when you put the svg in the background, it deforms to take up the whole width. Not stupid, above the maximum width of the svg, I make a different display It works very well, thank you for this idea
Want results from more Discord servers?
Add your server