Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk4 min

Responsive Design: How Can You Make a Website Work on Any Screen?

Seven practical responsive design techniques help websites adapt to mobile screens while preserving readability, accessible interaction, and a solid experience at other widths.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make a website work well on phones, build it to adapt to the space and input people actually use—not to a short list of phone and tablet sizes. These seven practices help pages reflow at narrow widths, stay readable when magnified, and remain usable with touch, keyboard, and assistive technology.

1. Set the viewport to the device width

Without a viewport declaration, some mobile browsers lay out a page on a wider virtual canvas and then shrink it to fit. That can make text tiny and prevent narrow-screen media queries from behaving as intended. Add this to the document’s <head>:

As an Amazon Associate I earn from qualifying purchases.

<meta name="viewport" content="width=device-width, initial-scale=1">

The width=device-width setting aligns the layout viewport with the device width. initial-scale=1 is common, though MDN notes it is usually unnecessary when the width is set; if you see unwanted initial shrinking, investigate overflow rather than treating the scale setting as its cure. Do not disable zoom with maximum-scale or user-scalable=no, which can make pages harder to access. See MDN’s viewport meta tag guidance and web.dev’s viewport overview.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

2. Let layouts and media flex

Fixed-width layouts can force horizontal scrolling on a phone or leave excessive empty space on a wide display. Use flexible grids, relative sizing, and intrinsic or minimum/maximum sizing so components can use the available space without assuming one exact width. For an image that should shrink within its container without becoming larger than its intrinsic size, a common rule is:

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
img {
  max-width: 100%;
  height: auto;
}

Flexible sizing also helps accommodate viewport widths you did not anticipate. MDN’s responsive design overview covers flexible layouts and media.

3. Start narrow and add breakpoints when content needs them

Begin with the narrow layout, then widen the viewport until the content would benefit from a different arrangement. Add a breakpoint when text, navigation, or columns become cramped, difficult to scan, or too spread out—not simply because a particular phone or tablet model exists. Device categories change, and a screen’s size does not tell you whether its user has touch, a keyboard, or a pointer.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

Not every component needs a media query. Flexible grids and relative or constrained sizing can handle many widths on their own; use a media query when the content calls for a meaningful structural change. MDN explains both approaches in its responsive design guidance.

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

4. Choose image sizes for the layout and avoid unnecessary downloads

Responsive image techniques can let the browser select an appropriate candidate for the rendered size or display resolution. This is different from merely shrinking a desktop-sized image with CSS: choosing among candidates can avoid sending a larger asset when a smaller one is suitable. For images loaded through CSS, mobile-first styling can also avoid downloading large desktop-specific images in some cases; that technique does not apply to images loaded in HTML.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

For below-the-fold images, lazy loading can defer downloads until images are in or near the viewport, which may avoid fetching images a visitor never reaches. Whether these choices improve perceived speed or data use on a particular site depends on its assets, layout, and visitors; measure rather than promise a specific gain. See MDN’s responsive images guide.

5. Keep text readable and preserve reflow and zoom

People should be able to enlarge a page without losing content or needing to scroll horizontally to read ordinary text. Responsive layouts support phone users and people with low vision who magnify content. Avoid fixed dimensions or clipped containers that make text disappear as it grows.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

W3C WAI describes a common way for reading-oriented pages to meet WCAG’s reflow criterion: fit content into a single column at a 320 CSS-pixel viewport and require only vertical scrolling to read. That is a reference for reflow, not a rule that every kind of content must become one column; some content may legitimately need two-dimensional presentation. Read W3C WAI’s explanation of WCAG 2.1 Success Criterion 1.4.10.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

6. Make controls work across input methods

Do not assume a small screen always means touch or a large screen always means mouse. Use semantic buttons and links, visible form labels, meaningful accessible names, and a logical keyboard focus order. When CSS Grid or Flexbox changes visual order, verify that keyboard and screen-reader users encounter items in a sensible document order too.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
  • Make touch targets large enough to activate reliably.
  • Keep controls labeled, including form fields and icon-only actions.
  • Do not lock content to one screen orientation unless that orientation is essential.
  • Where practical, let users cancel or undo touch interactions.

These checks reflect the practical considerations in web.dev’s mobile accessibility guidance.

7. Test widths, orientations, and interaction—not just device presets

Resize the browser continuously rather than checking only a few named device sizes. Test orientation changes and relevant touch, pointer, and keyboard interactions. Look for failures that a screenshot alone can miss:

  • Horizontal page overflow or content cut off at the edges.
  • Text that is difficult to read or controls that overlap when enlarged.
  • Navigation that becomes awkward to reach or use.
  • Focus order that no longer matches the visual flow.
  • Images or other media that overflow or fail to fit their container.

Lighthouse audits can help identify a missing viewport configuration or content overflowing the viewport, as described in web.dev’s viewport guidance. Treat automated findings as diagnostics: they cannot tell you on their own whether a person can complete the page’s key tasks comfortably. Pair them with checks of the real interaction flow.

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

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.