简体   繁体   English

无法在Visual Studio 2010中使用CSS3

[英]Not able to use CSS3 in visual studio 2010

I am using Visual studio 2010 service pack 1 to design websites but i am not able to use 'CSS3' in it. 我正在使用Visual Studio 2010 Service Pack 1来设计网站,但无法在其中使用“ CSS3”。 I have tried to use some border properties for front page but it shows error 'Not supported'. 我试图为首页使用某些边框属性,但显示错误“不支持”。

Install CSS 3 Intellisense Schema : 安装CSS 3 Intellisense模式

it adds CSS3 intellisense schema to visual studio 2010 which improves developer web designing and support css 3 properties. 它在Visual Studio 2010中添加了CSS3智能感知架构,从而改善了开发人员的网页设计并支持CSS 3属性。

In SP1 there are a few improvements in the CSS3 support as well, though not as elaborate as with HTML5. SP1中,对CSS3的支持也进行了一些改进,尽管没有HTML5那样详尽。 The editor now supports the more advanced selectors such as div:nth-child(2n+1) without giving validation errors and the new color values rgba, hsl, hsla and 8 digit hex values are also supported. 编辑器现在支持更高级的选择器,例如div:nth-​​child(2n + 1),而不会给出验证错误,并且还支持新的颜色值rgba,hsl,hsla和8位十六进制值。

Reference 参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM