IllustratorToCSS is a project mainly written in JavaScript, it's free.
Export attributes of the selected illustrator object to CSS
Voilà!