Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>csslitNew to Visual Studio Code? Get it now.
csslit

csslit

csslit

| (0) | Free
VS Code support for csslit.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

csslit for VS Code

CSS syntax highlighting, completions, and hovers inside csslit tagged template literals.

import { css } from "csslit";

const button = css`
  color: white;
  background: rebeccapurple;

  &:hover {
    background: indigo;
  }
`;

css.global`
  body {
    margin: 0;
  }
`;

Highlighting works in JavaScript, JSX, TypeScript, TSX, HTML scripts, Angular, Astro, Marko, MDX, Svelte, Vue, and TSRX. Completions and hovers work in JavaScript, TypeScript, and TSRX files.

Source and issues: github.com/csslit/csslit

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft