@shivjoshi1996
Posted
Hey there!
Awesome attempt on this challenge.
For the SVG background, instead of using units like 100px
, try and use units that are relative to the viewport (vh, which is the viewport height, and vw which is the viewport width.
For example, if you replace what you currently have with background-position: right 50vw bottom 40vh, left 50vw top 50vh;
, then the circles should look a little better on mobile and desktop, because they're moving depending on the size of the actual screen.
You can then add a media query and tweak those units around so that it looks good on mobile and desktop, but you may not need to. Also, adding an SVG using CSS is perfectly fine (especially if it's just for decoration purposes and does not have any functional impact to the page).
@hliosdja
Posted
Thanks for the info, will definitely try it!