# HTML CSS Support

> CSS class, id and custom property completion for HTML in VS Code

Source: https://talira.ai/catalog/html-css-support-3jmvxm5b
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / editors](https://talira.ai/categories/developer-tools/editors)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Ecmel Ercan](https://talira.ai/orgs/ecmel.md)

HTML CSS Support (ecmel.vscode-html-css) is a [Visual Studio Code](https://talira.ai/catalog/visual-studio-code-k779xgqd.md) extension that completes HTML `id` and `class` attributes from the style sheets a project uses, and CSS custom properties inside `var()`. It reads styles defined in the file and local or remote style sheets you list in the workspace settings (with glob patterns), shows a custom property's resolved value on hover, goes to the definition of selectors and custom properties, and validates class attributes on demand. HTML is enabled by default, and other languages such as Vue, Twig or Nunjucks can be turned on. It's by Ecmel Ercan and is on the VS Code Marketplace and Open VSX.

## Links

- GitHub: https://github.com/ecmel/vscode-html-css

## Problems it solves

- autocomplete my CSS class names while writing HTML in VS Code
- see which CSS variables exist while I type var()
- catch class names in my HTML that no style sheet defines

## Features

- class and id attribute completion
- CSS custom property completion in var()
- custom property values on hover
- go to definition for selectors and custom properties
- class attribute validation
- local and remote style sheets

## Trust

Overall: 0.42 out of 1.
Signals: maintenance 0.61, adoption 0.45, momentum 0.11, community 0.61, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 1 commits in the last 90 days
- latest release 2.1.0 2 days ago
- 171 GitHub stars
- 33 contributors
- accepts sponsorship (Github, Custom)
- backed by Ecmel Ercan

## Alternatives

- [CSS Peek](https://talira.ai/catalog/css-peek-k84pr2a4.md): Peek at, jump to and hover over the CSS, SCSS and Less rules for a class or id in VS Code
- [Jinja for Visual Studio Code](https://talira.ai/catalog/jinja-for-visual-studio-code-w2vr9fe8.md): Syntax highlighting and snippets for the Jinja template language in VS Code

## Sources

[^1]: https://github.com/ecmel/vscode-html-css/blob/main/LICENSE (checked 24 Nov 2026)
