
css file to check the properties attached to a class or id. If you’re anything like me, I hate having to toggle over to my. Open the Command Palette and call “Autoprefixer CSS”. I would completely forget to add the vendor prefixes.Īutoprefixer will automatically add vendor prefixes to make sure your app looks as good as possible in different browsers. If it weren’t for the workflows already configured with Create React App, Angular CLI, etc. Having to prefix certain CSS properties to ensure browser support can be an extreme hassle.

This class definitions will also be available via intellisense when using Emmet as well!Īt any point, you can trigger a re-cache of the classes from your CSS files by opening up the Command Palette. This one will also automatically pull classes from CSS referenced in your HTML files. Intellisense for CSS Class Names provides similar functionality to the extension above. "css.remoteStyleSheets" : Intellisense for CSS Class Names This example is refering the Bootstrap 4 CSS file. You can do this by adding the following setting.

One thing that really stands out about this one is that you can specify remote CSS files to cache as well. Scans workspace folder for css and scss files Supports Zen Coding completion for class and id attributes HTML CSS Support (and the next extension listed) provides intellisense in your HTML files based on the CSS that is included in your project or referenced remotely.

With tons of developers creating extensions, the functionality is literally endless! Here are some of the best extensions in VS Code for writing CSS.Ĭheck out Learn Visual Studio Code to learn everything you need to know about about the hottest editor in Web Development! HTML CSS Support One of the most impressive parts of Visual Studio Code is customizability, especially via extensions.
