编译时Visual Studio中的CSS样式错误 [英] CSS style errors in Visual Studio while compiling
本文介绍了编译时Visual Studio中的CSS样式错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我在Visual Studio 2010项目中使用CSS3样式命令(例如Box-shadow,Box-Sizing,背景渐变等)并进行编译时,VS都会显示一个或多个有关CSS3样式的错误。如何克服Visual Studio的这种行为?
Whenever I use CSS3 style commands (like Box-shadow, Box-Sizing, background gradient,etc ) in my Visual Studio 2010 projects and compiles it, VS shows one or more errors regarding CSS3 styles. How can I overcome this behavior of Visual Studio?
推荐答案
您可以从工具菜单中关闭Visual Studio中的CSS验证错误。选择工具>选项,然后执行下图所示的操作。
You can turn off CSS validation errors in Visual Studio from Tools menu. Select Tools > Options and perform the action shown in the following image.
这篇关于编译时Visual Studio中的CSS样式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文