Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build a mobile-friendly website by starting with a layout that reflows to the available screen width, then adding columns only when the content has room for them. Set the viewport in your page’s <head>, use flexible CSS for content and images, preserve zoom, and check the result at narrow and wide widths with touch and keyboard input.

1. Set the viewport to the device width

Add this element inside the document’s <head>:

<meta name="viewport" content="width=device-width">

It tells the mobile browser to lay out the page using the device’s width in CSS pixels. Without an appropriate viewport setting, a browser may use a wider virtual viewport and scale the page down, leaving text and controls too small. See MDN’s viewport metadata reference.

2. Build a flexible layout that starts narrow

Responsive design is a way to make a layout adapt to its viewing environment, not a separate technology. Begin with a straightforward single-column layout that works on a narrow screen. Let content reflow rather than forcing the page into a fixed desktop width; use flexible sizing and modern CSS layout methods, and allow images to shrink within their containers.

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.page {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

This foundation avoids a fixed page width and keeps images from overflowing their layout. Adapt the example to your content and stylesheet; the exact values are starting points, not universal requirements. For background on adaptable layouts, see MDN’s responsive design guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Yojaro 4Pack Silicone Suction Phone Case Mount, Silicon Adhesive Smartphones Stand Sticky, Hands-Free Phone Accessories Holder for Selfies and Videos (Black & White & Translucent & Light Pink)
  • 【Strong Adsorption】The inspiration of the silicone phone suction case comes from the adhesive force of the octopus. Each suction cup phone mount is 3.15 inches long and 2.17 inches wide, with 24 independent suction cups providing a stronger and more stable suction force, so you don't have to worry about your phone falling during use.
  • 【Back of Phone Suction Grip】Remove the adhesive film on the phone suction cup and stick it on the phone case. You can then fix the phone on any smooth surface, which is very convenient. (The phone suction cup cannot be removed and reused after being attached to the phone case. It is recommended to attach it to a regular phone case, not a valuable one.)
  • 【Widely Used】Our non-slip silicone phone sticky grip mount attaches to almost any flat phone case and make it compatible with common mobile phones such as iPhone and Android.You can shoot, watch videos or video calls in the kitchen, gym, dance studio, bathroom and other places.
  • 【Capture the Wonderful Picture】Whether you are a TikTok creator or just like to share videos and photos, this phone suction cup can help you hands-free capture wonderful videos and photos for sharing with friends.
  • 【Note】You can fix the phone suction cup on a smooth surface such as a mirror or glass. If necessary, wipe the suction cup with a damp cloth to obtain stronger suction. Before releasing your hand, make sure the phone is firmly fixed. (Not applicable to rough walls, wooden surfaces, and other uneven surfaces)

3. Add breakpoints when the content benefits

Use a media query to change the arrangement when the available space can support it. Choose the breakpoint by observing when the content feels cramped or overly stretched—not by assuming a particular phone or tablet size.

@media (min-width: 48rem) {
  .content {
    grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
  }
}

The example moves from one column to a main column plus a narrower side column at a chosen width. If that arrangement does not suit your content, keep one column or choose another layout. Make sure visual rearrangement does not create a confusing keyboard or reading order: the document’s source order should still make sense. Learn more in MDN’s media query fundamentals and Google’s guide to accessible responsive design.

4. Keep content readable when users zoom or reflow

Do not disable browser zoom. Use relative text sizing and flexible layout so content can respond to zoom and user preferences. As a useful reflow check for article-style pages, test whether content remains available without two-dimensional scrolling at 320 CSS pixels; this is a W3C test dimension, not a claim that every device has that width. Review the applicable guidance in W3C’s explanation of Reflow.

Rank #2
Apple EarPods Headphones with USB-C Plug, Wired Ear Buds with Built-in Remote to Control Music, Phone Calls, and Volume
  • SUPERIOR COMFORT — Unlike traditional circular ear buds, the design of EarPods is defined by the geometry of the ear. Which makes them more comfortable for more people than any other ear bud–style headphones.
  • HIGH-QUALITY AUDIO — The speakers inside EarPods have been engineered to maximize sound output and minimize sound loss, which means you get high-quality audio.
  • BUILT-IN REMOTE — EarPods with USB-C plug also include a built-in remote that lets you adjust the volume, control the playback of music and video, and answer or end calls with a pinch of the cord.
  • COMPATIBILITY — Works with all devices that have a USB-C port.
  • INTEGRATED MICROPHONE — A built-in microphone precisely captures your voice while you’re on the phone, taking a FaceTime call, or summoning Siri — so you’re always heard loud and clear.

5. Make controls usable with touch and keyboard

Give buttons and links generous hit areas, leave space between neighboring targets, and verify that keyboard focus follows a logical order after responsive layout changes. Google web.dev recommends targets around 48 device-independent pixels with about 8 pixels of spacing as practical guidance; these are recommendations, not a binding WCAG target-size requirement. Padding can enlarge the clickable area around a small icon. See web.dev’s tap-target guidance and its accessible responsive design advice.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Test layouts and interactions at more than one width

  1. Open the page in a browser and inspect a narrow width, a wide width, and the transition around each breakpoint. Chrome DevTools responsive mode can show the page at selected widths.

  2. Check that text, images, and controls remain within the viewport and that the page does not require unintended horizontal scrolling.

    Rank #3
    PopSockets Adhesive Phone Grip, Holder- Black
    • Secure Hold: Our PopSockets adhesive phone grip gives your cell phone a secure, comfortable hold in hand to help prevent drops while texting, taking photos, or scrolling on the go. Designed to stick firmly to most phone cases and devices.
    • Hands-Free Made Easy: Easily turn your PopSocket into a phone stand to prop up your phone anywhere, perfect for watching videos, video calls, or following recipes. A must-have phone holder that keeps your device secure and ready for anything.
    • Compatibility: Works with all phones, tablets, and Kindles. Sticks best to smooth, hard plastic cases and may not adhere to silicone or textured cases. Easily swap your PopTop to change up your style.
    • Black PopSockets: Simple, refined, and endlessly versatile. A timeless essential for any phone.
    • Travel Must-Have for People On the Go: A must-have travel accessory for flights, flying, airports, air travel, airplanes, planes, international trips, cruises, and long travel days. Key gadget for your airport haul, travel accessories and must-haves.
  3. Zoom in and confirm that content remains available and usable.

  4. Navigate with a keyboard, checking visible focus and a sensible order through links and controls.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  5. Try touch controls on a phone or touch-capable device, paying attention to target size and spacing.

    Rank #4
    360° Rotating Stainless Steel Phone Tether Tab (Silvery 3-Pack) - Universal for iPhone & Other Phones (Fits Wristbands/Necklaces/Crossbody Straps)
    • [360 ° Flexible Rotation Design] Comes with a rotatable lanyard ring that supports 360 ° free rotation, effectively solving the problem of twisted and tangled lanyards
    • [Wide compatibility] The ultra-thin 0.02-inch design does not block the charging port at all, and both wired and wireless charging can be used directly without removing the pad. Compatible with most smartphones such as iPhone, compatible with various wristbands, lanyards, crossbody straps, and keychains
    • [Durable and Portable Material] Premium rust-resistant stainless steel material with good flexibility, which not only avoids scratching the phone case, but also has excellent anti rust and anti fading performance
    • [Multi scenario Practical] Paired with a lanyard or wristband, hands-free use can be achieved. The phone is within reach and not easily dropped, ideal for daily commuting and outdoor activities. Suitable for full coverage phone cases, does not support half coverage phone cases
    • [Quality Service] If you find any damage or other issues with the product upon receipt, please contact us immediately. We will handle it quickly

A screenshot or visual check can reveal layout problems, but it cannot by itself establish accessibility or real-user performance.

7. Measure performance separately from responsive layout

Core Web Vitals address loading, responsiveness to input, and visual stability. Google web.dev’s good-experience targets are LCP within 2.5 seconds, INP at or below 200 milliseconds, and CLS at or below 0.1. Evaluate them at the 75th percentile and separately for mobile and desktop. These are performance targets, not proof that controls are accessible or that a layout reflows correctly. Details are in web.dev’s Web Vitals guide.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For capturing a rendered page as a screenshot or PDF, ScreenshotNeo provides a website screenshot API and MCP server. A one-call example using cURL:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anteel 2 Pack Silicone Suction Cup Phone Case Mount Double Sided, Hands-Free Silicon Phone Grip with Higher Suction Power for Selfies and Videos, Non Slip Phone Accessories (LightPink&White)
  • 【PKYAA Double Sided Silicone Suction Phone Case Mount】PKYAA With Double Sided 40 Strong and Reliable individual suction cups, PKYAA provides a thicken and upgraded universal silicon suction mount for your phone.
  • 【Friendly to Content Creators】If you are a content creator or an online influencer, you can create videos anywhere with this suction mount completely hands free with this silicone cell phone mount for cases.
  • 【HANDS-FREE & Adhere to Mirrors】This Double Sided silicone suction phone case mount allows you to stick your phone to the mirror easily. No longer holding your phone in one hand to watch video tutorials while making up.
  • 【Strong Grip on the Smooth Surface】You can easily hang your phone anywhere with a smooth surface. All you do is you clean off your phone and smooth surface. It is STURDY and it not only sticks to mirrors, it also sticks to windows, it sticks to refrigerators, tiles and other clean, flat surfaces.
  • 【Press Down Firmly Every 30 Minutes】Use your palm or fingers to press the phone down firmly and check it's secure before letting go. Apply even pressure for a few seconds to allow the suction cup to adhere properly. To maintain the grip and prevent accidental falls, it's a good practice to periodically reapply pressure to the suction cup.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for setup and options. It accepts cookie/consent banners before capture and removes known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses indicate the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents and other MCP clients. The Free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots.

Sign up for 1,000 free screenshots a month, with no card required.

Common problems and fixes

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.