MQtest is a simple tool to help identify which media queries your device responds to.
This test isn’t about what media queries your device can or cannot see (but it does show an 'unsupported' label if a device doesn‘t support something). Instead it shows you which dimensions your device will respond to when using 'width=device-width,initial-scale=1.'
Built by Ariel Salminen. Some parts of the tests adopted from Quirksmode.org, Aspect Ratio Calculator and BBC’s Device Reporter.
Just download or clone this repository to your own machine and open index.html, no configuration needed.
Uses GitHub pages.
Licensed under the MIT license.
Copyright (c) 2011-2023 Ariel Salminen, https://arie.ls
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
v0.3
(2012-12-18) - Adds min/max-resolution test.
v0.2
(2012-12-4) - Adds aspect-ratio and em measures to the device-width & device-height.
v0.1
(2012-11-5) - Release
Great! New ideas are more than welcome, but please check the Pull Request Guidelines first before doing so.