All Projects → viljamis → Mqtest

viljamis / Mqtest

MQtest is a simple tool to help identify which media queries your device responds to.

Labels

MQtest

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 Viljami Salminen. Some parts of the tests adopted from Quirksmode.org, Aspect Ratio Calculator and BBC’s Device Reporter.

Installation and usage

Just download or clone this repository to your own machine and open index.html, no configuration needed.

Deployment

Uses GitHub pages.

License

Licensed under the MIT license.

Copyright (c) 2011-2012 Viljami Salminen, https://viljamis.com/

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.

Changelog

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

Want to do a pull request?

Great! New ideas are more than welcome, but please check the Pull Request Guidelines first before doing so.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].