Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CSS Custom Media Query SupportNew to Visual Studio Code? Get it now.
CSS Custom Media Query Support

CSS Custom Media Query Support

kamatte-me

|
112 installs
| (0) | Free
VSCode Extension - CSS Custom Media Query Support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension - CSS Custom Media Query Support

Extension for CSS Custom Media Query draft syntax support.

To use the @custom-media syntax in production, you need a tool to process the custom media queries, as they are part of a draft specification and not yet natively supported by all browsers.

Consider using one of the following tools:

  • PostCSS with postcss-custom-media plugin
  • Lightning CSS

These tools transpile the custom media queries into standard CSS media queries that are compatible with current browsers.

Features

  • @custom-media syntax
  • Autocomplete
  • Go to definition
  • Go to references
  • Diagnostics
  • Support file extensions: .css, .scss, pcss and .postcss

Demo

Demo

Installation

Install via the Visual Studio Code Marketplace

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