Validate VS2010, HTML 5 and CSS 3

I want to switch CSS validation in VS2010 SP1 from CSS 2.1 to CSS 3.

I came across this answer:

Is it possible to change CSS validation scheme in VS2010

It’s not clear to me how to activate CSS 3 validation. I found that switching HTML validation to HTML 5 causes CSS to validate as CSS 3 (after installing CSS 3 Intellisense Schema ).

However, I would think that the HTML level and CSS level would be orthogonal.

Am I missing something, or does the HTML validation switch really also control the level of CSS validation?

+4
source share
1 answer

First, right-click on the toolbar in VS2010 and turn on the β€œStyle Sheet”. Then, as soon as the CSS file is open and focused, you can change the target CSS validator from the drop-down list.

enter image description here

+4
source

Source: https://habr.com/ru/post/1399851/


All Articles