score:6

Accepted answer

you can add background property through css to svg element as any other html tag. for example, like this you will have google logo on background:

svg {
  background: url('https://www.google.nl/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png') no-repeat;
}

more on properties you can use in background, w3schools.com


Related Query