Skip to content

jacobcassidy/vscode-css-nesting-syntax-highlighting

Repository files navigation

README

All modern browsers support CSS nesting (Can I Use), yet VSCode doesn't currently have CSS nesting syntax highlighting.

This extension provides the needed syntax highlighting and will be available until the new syntax rules merge into VSCode's core.

To learn more about CSS Nesting, see MDN.

CSS Nesting Example

  .example {
    text-decoration: none;
    &:hover {
      text-decoration: underline;
    }
  }

VSCode CSS Syntax Source

About

A Visual Studio Code extension that adds syntax highlighting in the editor for CSS nesting.

Topics

Resources

License

Stars

Watchers

Forks

Languages