MDN will be in maintenance mode on Thursday September 21st, starting at 10 AM Pacific / 5 PM UTC, for about 1 hour.


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.


Requires Gecko 25.0(Firefox 25.0 / Thunderbird 25.0 / SeaMonkey 2.22)

The -moz-os-version Gecko-only CSS @media 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

Document Tags and Contributors

 Contributors to this page: mfluehr
 Last updated by: mfluehr,