Answers for "using svg as css background"

CSS
2

svg as background css

.element {
  background-image: url(/images/image.svg);
}
Posted by: Guest on July-12-2021
0

svg background

background: url(100px-wide-no-height-or-ratio.svg);
background-size: contain;
Posted by: Guest on January-09-2022

Browse Popular Code Answers by Language