0

My HTML code is

<!DOCTYPE html>
<html>
  <head>
    <title>Test_Svg</title>
    <link rel="stylesheet" type="text/css" href="test_svg.css"/>
  </head>
  <body>
    <object type="image/svg+xml" data="mySvg.svg">
      Can't display
    </object>
  </body>
</html>

And my CSS as follows

object
{
  height: 100px;
  width: 100px;
  fill: blue;
}

Basically I want to change the colour of the SVG image. How can I do it?

The SVG is designed by someone else. I need to use them and put them in place.

halfer
  • 19,824
  • 17
  • 99
  • 186
Syed Is Saqlain
  • 360
  • 1
  • 3
  • 13

0 Answers0