CSS - device-width
Description
Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
device-width
is a deprecated CSS media feature whose value is the width of the rendering surface of the output device, as a CSS <length>
.
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Specifications
Specification | Status | Comment |
---|---|---|
Media Queries Level 4 The definition of 'device-width' in that specification. |
Working Draft | Deprecated in Media Queries Level 4 |
Media Queries The definition of 'device-width' in that specification. |
Recommendation | Initial definition. |
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/@media/device-width