Design comparison
SolutionDesign
Solution retrospective
Hi everyone, I'm a newby and I don't know how to use svg element to put it as background. I hope someone could help me how to use it! Thanks :D
Community feedback
- @phonzdevPosted almost 4 years ago
Hi Giancarlo! Use the
background-image
property. Use this as your reference!Don't forget to upvote comments you find helpful! :D
Happy coding!
0 - @nikkaellaPosted almost 4 years ago
Hi! Great job so far! 😊 You would use an SVG(Scalable Vector Graphics) file the same way you would use a PNG or JPG file. So it would look like
<img src="blah.svg" alt="">
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord