This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Note: Since Firefox 58, this media feature is no longer available to web content — it is only available internally (e.g. to XUL / chrome code). See bug 1396066 for more details.

The -moz-os-version Gecko-only CSS media feature can be used to apply styles based on the user's version of Microsoft Windows. This can be useful for adapting application skins and other chrome code depending on the user's operating system version.



The user is on the Windows 7 operating system.
The user is on the Windows 8 operating system.
The user is on the Windows 10 operating system.

Media: media/visual
Accepts min/max prefixes: no