vondip
vondip

Reputation: 14039

extract stylesheet visual studio

I've written some css information on elements in my html document. I was wondering, is there any "extract Stylesheet" tool in visual studio, to enalbe me to automatically extract the styles out to an external css file?

Upvotes: 2

Views: 811

Answers (2)

zandor zavies
zandor zavies

Reputation: 141

This Visual Studio add-in should do what you want: Aggiorno

However in-line styles - even in a prototyping phase - are considered bad practice. If you really don't want to wire up .css files, it's better to have a single <style/> block in the <head/> that contains all of your classes. This way it can be easily moved to a .css once you're ready.

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1039080

I am not aware of such tool in Visual Studio but you could use FireBug to inspect CSS rules applied to a web page.

Upvotes: 0

Related Questions