I have a really strange problem with Visual Studio 2010. When I add CSS properties for a gradient to my stylesheet, Visual Studio is going to delete it after some times of d
I realize this is an older thread, but I still have the same problem
I haven't yet found how to prevent it, but there is a much easier way to correct the CSS mess-up:
As soon as you notice VS2010 has messed up the CSS code, stop the debug, go to the CSS file tab and press the undo button. Your Css code is back to before VS2010 messed it up. Compile and it works.
I'm going to try out VS2012 soon, anyone know if it has been solved there?