how to associate a css stylesheet with an svg?

6 views
Skip to first unread message

d3guy

unread,
Mar 21, 2017, 6:00:53 PM3/21/17
to d3-js
I just learned that there are special css stylesheet constraints when loading an svg as an object reference on a webpage:


Storing an svg in it's own separate file provides good separation and maintainability so I'm guessing that the need to associate a css stylesheet with an svg loaded as an object on a webpage is a somewhat common scenario. Can you recommend any good techniques for this?

Reply all
Reply to author
Forward
0 new messages