how can i move svg image to the left corner? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how can i move svg image to the left corner?

I want to know, how to move image in svg to the left corner of the browser, so as to serve as logo?

15th Sep 2016, 7:57 PM
Joshua Acquah
Joshua Acquah - avatar
1 Answer
0
Use the x and y attribuites in the <svg> tag. Then (using CSS) you can put in into a background and use background-attachment: fixed or background-attachment: scroll to make it act how you want.
16th Sep 2016, 2:25 AM
Ryne
Ryne - avatar