Inspectopedia Help

Invalid media query range

Checks range context syntax, which may alternatively be used for media features with a 'range' type.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

PostCssMediaRange
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | PostCSS

Example:

@media screen and (500px <= width <= 1200px) {}
Last modified: 11 September 2024