Quantcast
Viewing all articles
Browse latest Browse all 61891

Illustrator SVG export and CSS?

I want to make a graphic to be placed on a web page that can be automatically styled in different ways using CSS. The problem is that when I export an SVG from illustrator, the SVG code is stripped of IDs/classes and so the CSS script won't function.

 

Some background: I work in a group of artists who make graphics in adobe illustrator and we need the ability to take these graphics and restyle them for different contexts. The restyling needs to be done fast.

 

So far I have tried naming elements on each layer, and I am choosing the Style elements selection in the CSS properties drop down menu

 

There is a lot if support for using the new versions of illustrator to provide the CSS code to copy and paste into a CSS document but I have not had luck finding support for getting a CSS-ready file out of illustrator

 

Is there a workaround or plugin that will allow illustrator to export a 'semantic' SVG graphic that can be styled using CSS?

 

Thank you!


Viewing all articles
Browse latest Browse all 61891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>