@rmartin93
Posted
overflow-hidden is great actually! The solution is supposed to have the image clipped so I think this is perfect.
If you want to avoid that, you could use background-image instead and play around with learning that. It's a useful one to know, since background-image opens up the door to do a lot of stuff you wouldn't normally be able to do with just putting the svg directly into the div.
Kevin Powell has some good videos going over some general background-image stuff if you want to learn more.
Happy coding!
Marked as helpful
@semperprimum
Posted
@rmartin93 I meant to say that it clips on the right, not the left😁 Thank you for your valuable feedback!