- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
CSS Media Query Generator
Write CSS media queries from width breakpoints (Bootstrap, Tailwind or your own), orientation, dark mode, hover, reduced motion and print.
- Free
- No sign-up
- Works on any device
About CSS Media Query Generator
Write the @media line without hunting for syntax. Start from a framework breakpoint (Bootstrap 5 or Tailwind CSS defaults) or a common phone, tablet and desktop convention, or type your own minimum and maximum width in pixels or ems. Add conditions for orientation, dark or light color scheme, hover ability, reduced motion, high pixel density and the print or screen media type. The tool builds the classic min-width syntax and the newer Media Queries Level 4 range form, such as (width >= 768px), and tells you whether the query matches your current window.
How to use CSS Media Query Generator
- Pick a preset breakpoint, or choose Custom values and enter the minimum, maximum or both.
- Add optional conditions such as dark mode, landscape orientation, touch screens or reduced motion.
- Copy the @media block and put your CSS rules inside it.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
Should I use min-width or max-width for responsive design?
Most teams write the small-screen styles first and add min-width queries for larger screens (mobile first). It keeps the base CSS simple, but both work and can be mixed carefully.
Why is a 768px query written with 767px for the other side?
Because a max-width of 768px still matches a viewport of exactly 768px, which would overlap with min-width 768px. Using 767px keeps the two ranges apart.
Can I rely on the range syntax with greater-than signs?
Current versions of the major browsers support it, but older ones do not. Use the classic min-width form if you must support older browsers.
Is CSS Media Query Generator free?
Yes. CSS Media Query Generator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put CSS Media Query Generator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.