Recently, I encountered an issue with my MVC app. In an attempt to make some gradients work in IE 8, I added the following code:
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E65C00', endColorstr='#FFB280');
Initially, everything was working well. However, now my application refuses to compile and displays the error message:
Validation (CSS 2.1): 'filter' is not a known CSS property name
Oddly enough, this problem did not exist before. It seems like a strange turn of events.
Considering my limited knowledge of CSS3, could Visual Studio be attempting to validate using CSS 2.1? Is there a way to configure it to support CSS 3 validation instead?