To change the color of an SVG using CSS, which property is used?

Advertisement

  • Use background-fill to set the color inside the object and stroke or border to set the color of the border.
  • The color cannot be changed with CSS.
  • Use fill or background to set the color inside the object and stroke to set the color of the border.
  • Use fill to set the color inside the object and stroke to set the color of the border.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend