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

CSSfmt

Ilya Verbitskiy

|
5,716 installs
| (0) | Free
Apply CSS formatting guidelines to your CSS files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSSfmt

Visual Studio Code extension to apply CSS formatting guidelines to a file.

Usage

Apply CSS guidelines to a file

  1. Open CSS file.
  2. Press F1 and look for the command Format CSS.
  3. Hit enter.

Compress CSS file

  1. Open CSS file.
  2. Press F1 and look for the command Compress CSS.
  3. Hit enter.

Configuration

cssfmt.indent (number) - Set indentation size. Default: 4.

cssfmt.useTabs (boolean) - Use tabs instead of spaces for indentation. Default: False.

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