tylersticka’s avatartylersticka’s Twitter Archive—№ 15,944

    1. …in reply to @webalys
      @webalys @CloudFour Not in the way you'd expect. An inline SVG is treated as an HTML element, so currentColor will inherit the parent element's text color. But an external SVG is treated as a document, so currentColor will only inherit as far as the SVG's root. Example: codepen.io/tylersticka/pen/GRvvRgw
  1. …in reply to @tylersticka
    @webalys @CloudFour I briefly wrote about this challenge in my SVG Wish List article a while back: cloudfour.com/thinks/svg-wish-list/#inherited-color-in-external-svg