Hey there,
I’m hoping someone can give me a little help here.
My goal:
For the layout of my site I wish to use a range of SVG elements.
I want to place them in a Wide box and have them fitting to the width AND height of that box.
I want the SVG to stretch, not remain it’s proportion.
To be a bit more precise:
If the svg where two crossed lines, I need the start and end of each line to end in the corners of the Wide box. So it will fit on any screen.
I’ve gotten this far:
The Wide box with the svg in it has a HTML ID, in this case: test
So that I can use the Embed function to let the svg fit the way I need.
What I have now filled in, in the Embed function/element:
<style>
#test
{
width: 100vw;
height: auto;
object-fit: fill;
}
</style>
I’d be very happy with any tips, thank you!!