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

CSSVision

lilscolari

|
25 installs
| (1) | Free
Autogenerate CSS code based on user input.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSSVision

This VS Code extension allows users to input text styling options through HTML input fields and see a real-time preview of their styles, along with the suggested generated CSS code.

Features

  • Live preview of text styles based on user input
  • Displays recommended CSS code
  • Supports various text styling options including:
    • Text color
    • Font size
    • Font weight
    • Font style
    • Font family (including all web-safe fonts)
    • Text shadow
    • Letter spacing
    • Word spacing
    • Line height
    • Text decoration

Options

  • Text: Enter the text you want to style.
  • Text Color: Choose a color for the text.
  • Font Size: Set the font size in pixels.
  • Font Weight: Select the font weight (Normal, Bold).
  • Font Style: Choose the font style (Normal, Italic, Oblique).
  • Font Family: Select a font family from the dropdown (includes all web-safe fonts).
  • Text Shadow: Set the shadow color, x-offset, y-offset, and blur radius.
  • Letter Spacing: Define the spacing between letters.
  • Word Spacing: Define the spacing between words.
  • Line Height: Set the line height.
  • Text Decoration: Choose the decoration line, style, and color.

Requirements

  • Node.js: Make sure you have Node.js installed. You can download it from nodejs.org.
  • npm: npm is installed with Node.js. You can verify the installation by running:
    node -v
    npm -v
    
  • VS Code: This extension requires Visual Studio Code version 1.91.0 or higher. You can download the latest version from code.visualstudio.com.

Extension Settings

This extension contributes the following commands:

  • cssvision.generate: Opens the CSS preview form.

Versions

0.0.1

Initial release of CSSVision

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Enjoy!

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