I have a problem when I trying to format css code. Visual studio gives me unnecessary spaces in css
Before format css code in visual studio :
.test-pare
I believe this feature is called "Hierarchical Indentation".
You should be able to disable it by completing the following.
This should stop Visual Studio formatting your CSS in the nested format.