Recently I have encountered with a strange problem:from time to time visual studio ignored changes I made in .css. Only when I recreate .css with another! name changes become visible. When I clear solution and delete .css visual still render! deleted .css .Has anybody same problems or it is only my bug?
If you are not seeing changes that you have applied to your website, you may need to clear your browser cache and/or the CDN cache.
If your browser is not reflecting the changes made in the CSS stylesheets attached, then try the following : Right click on your document in the browser window. Go to View Page Source. Reload your document and the changes will appear.
Why my CSS file is not working in VS code? The problem may be that your browser is caching the CSS file. If you're debugging with Edge, you can open the F12 tools and click on the Network tab. At the top, you'll find a button to "always refresh from server." Turn this on, and files won't be cached.
Visual Studio Code has built-in support for editing style sheets in CSS . css , SCSS . scss and Less .
First of all, make sure web caching is disabled in your project although Visual Studio Disables this mechanism automatically. Also, you can try Incognito/Private-Browsing mechanism in your browser if it supports. Another reason may be using unchanged css files. Try Clear Browsing Data to understand what causes the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With