开发者

extract stylesheet visual studio

开发者 https://www.devze.com 2023-02-02 13:52 出处:网络
I\'ve written some css information on elements in my html document. I wa开发者_JAVA技巧s wondering, is there any \"extract Stylesheet\" tool in visual studio, to enalbe me to automatically extract the

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


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消