Is there any support for checking (intellisense) embedded CSS3 in Visual Studio?

I am starting Visual Studio 2010. I have installed SP1 and updated web standards and restarted Visual Studio. Now I can select CSS3 for validation and Intellisense from CSS files, but for style attributes of "html elements" it still uses CSS 2.1. For example, the following html:

<div style="text-overflow:ellipsis;"> Some text </div> 

issues the following warning:

Validation (CSS 2.1): "text-overflow" is not a known CSS property name

Things I tried that didn't work:

  • Adding the CSS toolbar did not help, because when viewing the .aspx page, all options are greyed out
  • Options β†’ Text Editor β†’ CSS Menu has no level options
  • Options β†’ Text Editor β†’ HTML Menu Does Not Have CSS Level Options
  • Changing HTML Target Schema in HTML5 Does Not Change CSS Level
  • Installing CSS3 IS 2.1.1 Changed Nothing

Is there a way to get Visual Studio to use CSS3 for style attributes of HTML elements?

+4
source share
1 answer

Tools -> Extension Manager Then find Css 3 (online gallery), install. I'm not sure if this will work, but worth a try.

0
source

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


All Articles