0

I am using svg symbols on web page (http://css-tricks.com/svg-symbol-good-choice-icons/)

To add icon i should insert next code.

<svg class="svg-icon svg-icon_exit_door">
    <use xlink:href="#exit-door"/>
</svg>

Is there any way to use this construction in 'content' property of CSS selector?

kelso.md
  • 3
  • 4
  • 6
    Actually it is not a duplicate of the above question. This is about the use of SVG `` "spriting" in pseudo elements, not just plain SVGs. – nils Feb 17 '15 at 16:19
  • embedding / using svgs and symbol defs are different. This question is not duplicate when considering using an svg symbol def file, and accessing the svg via ``.... – random_user_name Jul 22 '19 at 22:43

0 Answers0