Responsive web design is the practice of building one website that adapts its layout, content, navigation, media, and controls to the space and input method available. A responsive site should not merely shrink a desktop page until it fits a phone. It should preserve the same information and core tasks while presenting them in the clearest form for each viewport.
For most modern websites, the strongest approach is mobile-first, fluid by default, and enhanced as more space becomes available. Google recommends responsive web design because it serves the same HTML on the same URL across devices and is generally the easiest mobile configuration to implement and maintain. That also fits mobile-first indexing, where Google primarily uses the mobile version of a page for indexing and ranking.
This guide explains how to make responsive layouts work across mobile, tablet, laptop, and large desktop screens without designing a separate site for each device.
TL;DR
- Start with the narrowest useful layout, then add complexity when the content has enough space.
- Choose breakpoints from where the layout breaks, not from a list of popular device widths.
- Use fluid containers, CSS Grid, Flexbox, relative units, and
clamp()before adding many media queries. - Keep content and primary functionality equivalent across mobile, tablet, and desktop.
- Use responsive images with
srcset,sizes, and<picture>where appropriate instead of sending oversized desktop images to small screens. - Treat tablet as a real design state, not an enlarged phone or compressed desktop.
- Make navigation, forms, buttons, tables, cards, and interactive elements usable with touch, keyboard, mouse, zoom, and different orientations.
- Test at widths between your breakpoints. Responsive bugs often appear in the spaces designers did not explicitly mock up.
- Measure real performance and usability after launch instead of assuming a layout is responsive because it looks correct in a design file.
What Is Responsive Web Design?
Responsive web design is an approach in which the same page adapts to different viewport sizes and device capabilities. The page may move from multiple columns to one column, change navigation patterns, resize typography, crop media differently, or rearrange supporting content, but the user should still be able to access the same important information and complete the same important tasks.
Google Search Central describes responsive design as serving the same HTML code on the same URL regardless of device while changing the presentation based on screen size. Google recommends this approach because it is generally easier to implement and maintain than separate mobile URLs or device-specific serving.
The practical goal is not to make every screen look identical. It is to make the experience remain clear, usable, fast, and complete as the available space changes.
If you are working on a broader redesign, the principles in our web design best practices guide help connect responsive behavior with usability, accessibility, trust, and conversions.
Mobile, Tablet, and Desktop Should Share One System
It is useful to talk about mobile, tablet, and desktop because they represent common viewing conditions. It is risky to treat them as three fixed screen sizes.
A small tablet in portrait mode may have less usable width than a large phone in landscape mode. A desktop browser may occupy only half of a large monitor. A user may zoom to 200% or 400%, effectively giving the page much less layout space. Foldable devices, split-screen modes, embedded webviews, browser sidebars, and resizable application windows make device labels even less reliable.
Design a responsive system around available space and content needs. Device categories are useful for planning and testing, but they should not become hard assumptions in the CSS.
1. Use a Mobile-First Foundation
Mobile-first CSS starts with the narrow-screen experience as the default. Wider layouts are added progressively as more space becomes available.
This works well because the mobile layout forces the team to decide what is essential. Navigation needs a clear hierarchy. Headings cannot rely on huge empty areas. Forms need to be usable without tiny fields. Cards need to work in one column. Primary calls to action need to remain obvious.
A basic mobile-first media-query pattern looks like this:
/* Base styles: narrow screens */
.card-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}
@media (width >= 48rem) {
.card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (width >= 64rem) {
.card-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}The exact breakpoint values are less important than the reason they exist. Add a breakpoint when the content no longer fits comfortably or when more space creates a clear usability improvement.
2. Choose Breakpoints Based on Content, Not Devices
There is no universal set of perfect responsive breakpoints. Common values such as 480px, 768px, 1024px, and 1280px can be useful starting references, but blindly using them can leave awkward gaps between layouts.
A better process is:
- Build the narrow layout first.
- Slowly widen the browser.
- Watch for the point where text lines become too long, navigation has extra space, cards feel stretched, or a multi-column layout would improve scanning.
- Add a breakpoint there.
- Repeat until the layout behaves well across the full range.
This makes breakpoints a response to content rather than a guess about which device a visitor owns.
Avoid creating a new media query for every small visual issue. Too many narrow breakpoint ranges make CSS harder to maintain and often indicate that a component needs a more fluid layout rule instead.
3. Prefer Fluid Layouts Before Media Queries
Responsive layouts become easier to maintain when they adapt naturally between breakpoints.
Use flexible grid tracks, percentages, minmax(), auto-fit, auto-fill, Flexbox wrapping, and maximum content widths. These tools allow components to respond continuously instead of jumping between several rigid layouts.
For example:
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
gap: clamp(1rem, 2vw, 2rem);
}A grid like this can often handle phone, tablet, and desktop widths with little or no extra breakpoint logic.
The same principle applies to spacing. Instead of switching from 24px to 64px at a single breakpoint, a fluid value can scale gradually:
.section {
padding-block: clamp(3rem, 7vw, 7rem);
}Fluid design reduces abrupt transitions and makes layouts more resilient at unusual widths.
4. Use Container Queries for Reusable Components
Media queries respond to the viewport. Container queries let a component respond to the space of its own container.
This matters when the same component can appear in different contexts. A testimonial card may be full width on a landing page, half width in a two-column section, and narrow inside a sidebar. A viewport-based rule does not know how much room that individual card actually has.
MDN describes container queries as a way to apply styles based on a containing element’s size or other features rather than the viewport. Modern component systems increasingly benefit from combining media queries for page-level structure with container queries for reusable modules.
A simplified example:
.card-wrapper {
container-type: inline-size;
}
@container (width >= 32rem) {
.card {
display: grid;
grid-template-columns: 10rem 1fr;
}
}Use container queries where component behavior depends more on local space than total screen width. They are especially useful for cards, pricing blocks, product modules, related-content blocks, and dashboard widgets.
5. Keep Content Width Under Control on Desktop
A responsive page should not keep expanding simply because a monitor is wide.
Very long text lines are harder to scan and create weak visual hierarchy. Large desktop screens usually benefit from a centered maximum-width container with intentional whitespace around the content.
The maximum width can differ by content type. A reading column may be relatively narrow, while a comparison table, dashboard, image gallery, or product grid may need more room.
Do not apply one site-wide width to every section without considering what that section contains. The purpose of a desktop layout is to use additional space well, not to fill every pixel.
6. Treat Tablet as Its Own Layout Problem
Tablet layouts often expose the weakest part of a responsive system.
A desktop header may not fit, but a full-screen mobile menu can feel unnecessary. Three-column cards may become too narrow, while one-column cards waste space. Sidebars can crowd the main content. Landscape and portrait orientations can behave like very different layouts.
For tablet widths, check specifically:
- whether navigation still has enough room;
- whether two-column sections remain readable;
- whether forms should be one or two columns;
- whether tables overflow cleanly;
- whether buttons remain large enough for touch;
- whether cards should move from one to two columns;
- whether hero graphics should remain beside the text or move below it;
- whether sticky elements consume too much of the viewport.
Do not assume that a layout working at 390px and 1440px will automatically work at 768px or 900px.
7. Make Typography Fluid but Controlled
Responsive typography should maintain hierarchy without producing tiny mobile text or oversized desktop headlines.
clamp() is useful because it allows a font size to scale within a defined minimum and maximum:
h1 {
font-size: clamp(2.25rem, 5vw, 4.75rem);
line-height: 1.05;
}
body {
font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
}Do not make every text size fluid. Body copy often needs only a small range, while display headings can scale more substantially.
Also adjust line length, line height, paragraph spacing, and heading wraps. A headline that looks strong on desktop may become six lines on mobile. Sometimes the correct responsive solution is not merely a smaller font; it may require a shorter heading, different max width, or controlled line breaks.
8. Build Responsive Images Into the Layout
Images are one of the most common sources of responsive performance problems.
A 2400px-wide hero image may be appropriate for a large display but wasteful on a 390px phone. Responsive images allow the browser to select a more appropriate resource for the rendered size and screen density.
The srcset and sizes attributes help the browser choose between multiple image widths. The <picture> element can provide more control when the crop or composition needs to change at different sizes.

Set intrinsic width and height where possible so the browser can reserve space and reduce layout shifts. Use modern formats when appropriate, compress images, and avoid loading desktop-quality assets where they are not needed.
9. Use Art Direction When One Crop Cannot Serve Every Screen
Sometimes resizing is not enough.
A wide desktop photo with a person placed on the far right may become meaningless when squeezed into a narrow portrait box. In that case, use art direction: provide a tighter crop, alternate orientation, or different composition for smaller screens.
The <picture> element is useful for this because it can provide different sources based on media conditions.
The objective is not to show a different message on mobile. It is to preserve the visual meaning of the same message when the available frame changes.
10. Make Navigation Responsive to Space and Input
Navigation is not responsive merely because it turns into a hamburger icon.
Desktop navigation can expose more options because there is more horizontal space and mouse interaction supports hover. Mobile and tablet navigation need to work reliably with touch and keyboard input.
A good responsive navigation system should:
- keep the main information architecture consistent across devices;
- preserve access to important pages instead of removing them on mobile;
- use clear labels rather than relying on icons alone;
- make expandable items understandable and keyboard accessible;
- keep tap targets comfortably sized and separated;
- avoid hover-only interactions;
- prevent the open menu from creating accidental horizontal scrolling;
- manage focus correctly when using modal-style mobile menus.
For service websites, the mobile header should make the primary conversion action easy to reach without turning the entire top of the screen into buttons.
11. Design Touch Targets for Real Fingers
Small controls become much harder to use on touchscreens.
WCAG 2.2 introduces a Level AA target-size criterion of at least 24 by 24 CSS pixels, with specific exceptions. In practice, many interfaces benefit from larger interactive areas than this minimum, especially primary buttons, menu items, form controls, pagination, close buttons, and icon-only actions.
Spacing matters as much as visual button size. Two small icon controls placed almost against each other can be difficult to tap even if each technically meets a minimum dimension.
Do not shrink desktop controls simply to save mobile space. Simplify the interface instead.
12. Make Forms Work Across Screen Sizes
Forms often convert well on desktop and become frustrating on mobile because the responsive work stops at width: 100%.
For mobile forms:
- use a single-column flow unless adjacent fields clearly belong together;
- keep labels visible rather than relying only on placeholders;
- use appropriate input types so mobile keyboards match the expected data;
- avoid tiny checkboxes and radios;
- keep error messages close to the affected field;
- make the submit button easy to reach and tap;
- avoid requiring horizontal scrolling;
- test autofill and password-manager behavior;
- minimize unnecessary fields.
On wider screens, two-column forms can be useful for short related fields such as first and last name, but do not create dense multi-column forms simply because space is available.
For lead-generation sites, responsive forms should support the same conversion path described in our small business web design guide: clear intent, low friction, useful qualification, and reliable follow-up.
13. Reflow Multi-Column Sections Intentionally
A common responsive pattern is to stack columns vertically on narrow screens. The important question is the order.
CSS can visually reorder items, but changing visual order without matching the logical DOM order can create accessibility and keyboard-navigation problems. Build the source order around the most logical reading sequence, then enhance the wide-screen presentation around it.
For example, a desktop section may show text on the left and an illustration on the right. On mobile, the text may need to appear first even if the image feels visually dominant on desktop.
Think in terms of reading and task order rather than simply “left column becomes top column.”
14. Handle Tables Without Breaking the Page
Tables are inherently two-dimensional, which makes them difficult on narrow screens.
Do not squeeze every column until the text becomes unreadable. Depending on the table, better options include:
- placing the table in a clearly scrollable horizontal container;
- prioritizing essential columns on small screens;
- converting a comparison into stacked cards when the semantic structure still makes sense;
- allowing long labels to wrap;
- keeping headers visible and understandable;
- avoiding fixed column widths that force overflow.
WCAG’s reflow criterion allows exceptions for content that genuinely requires a two-dimensional layout, including data tables. That does not remove the need to make the table as usable as possible on mobile.
15. Prevent Accidental Horizontal Scrolling
Unexpected horizontal scrolling is one of the clearest signs of a broken responsive layout.
Common causes include:
- fixed-width images or videos;
- long unbroken URLs or code strings;
width: 100vwinside containers with scrollbars or padding;- absolute-positioned decorative elements;
- large negative margins;
- fixed-width tables;
- carousels whose track exceeds its clipping container;
- long navigation labels;
- grid children that cannot shrink because
min-widthis not handled correctly.
Do not solve every overflow bug by applying overflow-x: hidden to the entire page. That can hide the symptom while clipping useful content or focus indicators. Find the element causing the overflow and fix its sizing behavior.
16. Account for Orientation, Zoom, and Browser UI
Responsive testing should not assume a fixed portrait viewport.
A phone in landscape mode may have limited vertical space. Tablet users rotate devices frequently. Mobile browser bars expand and collapse. Desktop users resize windows. Users with low vision may zoom significantly.
WCAG reflow guidance requires content to remain usable without two-dimensional scrolling at a width equivalent to 320 CSS pixels, apart from content that genuinely needs a two-dimensional layout. Responsive layouts that reflow well at narrow widths also tend to behave better when users zoom on desktop.
Avoid designs that depend on a precise viewport height, especially hero sections that must fit “above the fold.” 100vh can also behave unexpectedly with mobile browser chrome; modern viewport units such as svh, lvh, and dvh can help when a viewport-relative height is actually needed.
17. Keep Mobile and Desktop Content Equivalent
Do not treat mobile users as a secondary audience who need a reduced version of the website.
Google’s mobile-first indexing guidance emphasizes content parity. Important text, headings, images, links, structured data, and metadata should not disappear merely because a visitor is on a smaller screen.
It is reasonable to change presentation. A long navigation bar may become a drawer. Secondary details may move into an accordion. A comparison may become horizontally scrollable. But hiding important product details, internal links, FAQs, or service information on mobile can hurt both users and search visibility.
If content is genuinely unnecessary, consider whether it should exist on desktop either.
18. Make Responsive Performance Part of the Design
Responsive design and performance are closely connected.
A mobile layout can look perfect while still downloading huge images, autoplay video, unused JavaScript, several font files, and desktop-only interface code. That is responsive presentation without responsive delivery.
Review:
- image dimensions and formats;
- hero media weight;
- lazy loading for below-the-fold images;
- font families, weights, and subsets;
- third-party scripts;
- sliders and animation libraries;
- embedded maps and videos;
- CSS and JavaScript shipped for components that are not used;
- whether hidden desktop elements are still downloaded and executed on mobile.
Performance limits should influence the design early. Our web design best practices guide covers current Core Web Vitals targets and why performance should be treated as part of UX rather than a final cleanup task.
19. Avoid Hover-Dependent UX
Hover can enhance desktop interfaces, but it should rarely be required to understand or operate them.
Touch devices do not have a reliable hover state. Some hybrid laptops support both touch and mouse. Styluses and accessibility devices create additional input patterns.
Do not hide essential labels, prices, navigation, form instructions, or calls to action until hover. If hover reveals extra context, make sure the same information is available through focus, tap, or visible content.
CSS interaction media features such as hover, any-hover, pointer, and any-pointer can help tailor enhancements to input capability rather than guessing from screen width.
20. Use Responsive Spacing, Not Compressed Desktop Spacing
A narrow screen needs less outer whitespace, but that does not mean every gap should shrink aggressively.
Maintain a consistent spacing system. Reduce large section padding on mobile while preserving enough separation between headings, paragraphs, controls, cards, and touch targets.
A fluid spacing rule can often work better than several breakpoint-specific values:
.section {
padding-inline: clamp(1rem, 4vw, 4rem);
padding-block: clamp(3rem, 7vw, 7rem);
}The visual rhythm should remain recognizable across devices even when exact spacing values change.
21. Let Cards Adapt Without Creating Awkward Heights
Cards are common sources of responsive problems because desktop layouts often force equal widths and heights.
On narrow screens, allow cards to use the available width naturally. On wider screens, CSS Grid can create consistent rows without forcing every piece of content into the same fixed height.
Be careful with cards containing variable-length titles, feature lists, images, and buttons. If CTAs need alignment, use internal layout rules such as flex or grid rather than hard-coded card heights.
Also reconsider whether everything needs to remain a card on mobile. Sometimes removing borders and stacking content with simple separators produces a cleaner narrow-screen experience.
22. Make Sticky and Fixed Elements Responsive
Sticky headers, chat buttons, cookie notices, bottom navigation, and floating CTAs can consume a large percentage of a mobile viewport.
Test how these elements interact with:
- browser chrome;
- on-screen keyboards;
- form fields near the bottom of the page;
- cookie or consent banners;
- accessibility zoom;
- landscape orientation;
- other fixed UI such as support widgets.
A sticky element that is useful on desktop may need to become smaller, move, or disappear on mobile. Avoid stacking multiple fixed layers that leave the user with only a narrow strip of usable content.
23. Test Real Content, Not Perfect Placeholder Content
Responsive layouts often fail after content changes.
Test long headings, short headings, missing images, long names, translated text, large numbers, validation messages, long menu items, several tags, and unusually long URLs. A component that works only with a carefully selected six-word title is not robust.
This is especially important for CMS-driven sites where editors will continue publishing after the original designer is gone.
A reusable design system should define what happens when content is longer or shorter than the ideal example.
24. Test Between Breakpoints
Checking only a 390px phone, a 768px tablet, and a 1440px desktop misses many problems.
Drag the viewport slowly across the full width range. Watch for moments when:
- text becomes too wide or too narrow;
- navigation wraps;
- cards become awkwardly stretched;
- columns are technically side by side but no longer readable;
- buttons wrap onto two lines;
- images crop poorly;
- large empty spaces appear;
- tables overflow;
- sticky UI collides with content.
The most useful breakpoint is often discovered exactly where one of these failures begins.
25. Test on Real Devices and Browsers
Browser responsive modes are useful, but they cannot reproduce every real-device behavior.
Test at least a representative set of:
- iOS Safari;
- Android Chrome;
- desktop Chrome;
- Safari on macOS where relevant;
- Firefox;
- Edge;
- touch-enabled laptops or tablets if your audience uses them.
Check real touch behavior, scrolling, keyboard appearance, browser chrome, orientation changes, autofill, font rendering, and performance on slower connections.
You do not need to own every device. Browser-testing services and cloud device labs can expand coverage, while analytics can show which viewport sizes, browsers, and device categories matter most to your audience.
Responsive Design by Device Type
The same responsive system serves every device, but each range has common UX priorities.
Mobile: Prioritize Focus and Reachability
On narrow mobile screens:
- use a clear single-column reading flow;
- keep navigation compact but complete;
- make CTAs and controls touch friendly;
- avoid side-by-side content unless the relationship truly requires it;
- keep forms simple;
- prevent fixed elements from covering content;
- compress and resize media aggressively;
- check keyboard and autofill behavior;
- keep important information visible rather than removing it.
Mobile should feel intentionally designed, not like a desktop page after everything was stacked.
Tablet: Balance Density and Touch
Tablet layouts need more deliberate decisions because available width can support multiple patterns.
A two-column grid may be appropriate where mobile uses one and desktop uses three. Navigation may need a compact desktop pattern or a full mobile menu depending on content length. Form fields can sometimes sit side by side, but controls still need touch-friendly sizing.
Test both portrait and landscape. Avoid assuming one tablet orientation represents the whole category.
Desktop: Use Space Without Diluting Focus
Desktop layouts can support more columns, richer navigation, side-by-side comparisons, sticky supporting content, and larger visual storytelling.
But more space should not automatically mean more content. Preserve a clear focal point, constrain reading widths, and use whitespace deliberately. Large screens should make the experience easier to scan and compare rather than simply stretching the mobile layout.
The visual direction can also evolve without chasing every trend. Our web design trends 2026 guide explains which current patterns can strengthen brand identity without sacrificing usability or performance.
A Practical Responsive Breakpoint Strategy
Instead of assigning CSS directly to device names, use a small number of layout states that reflect content needs.
A common project might use:
- Base/narrow: one-column layout, compact navigation, full-width form controls.
- Medium: two-column grids where useful, more horizontal spacing, selective side-by-side content.
- Wide: full desktop navigation, wider content container, three- or four-column grids where content supports them.
- Extra wide: larger outer margins or wider specialist components without allowing reading lines to grow indefinitely.
The breakpoints that trigger those states should come from the design itself.
Start with as few breakpoints as possible. Add a new one only when the layout needs a meaningful structural change that fluid rules cannot handle cleanly.
Responsive Web Design Checklist
Before launch, verify the following across narrow, medium, wide, and zoomed layouts:
- The viewport meta tag is present and correct.
- Important content is available on every device.
- There is no unexpected horizontal page scrolling.
- Navigation works with touch, mouse, and keyboard.
- Headings wrap naturally without breaking hierarchy.
- Body text remains readable with sensible line lengths.
- Images use appropriate dimensions and responsive sources where useful.
- Videos and embeds scale within their containers.
- Buttons and other controls have usable target sizes and spacing.
- Forms work with mobile keyboards, autofill, validation, and zoom.
- Multi-column sections reflow in a logical reading order.
- Tables have a deliberate narrow-screen behavior.
- Sticky and fixed elements do not hide content.
- Carousels do not require drag-only interaction.
- Hover is not required to access essential information.
- Orientation changes do not break the layout.
- Content still works around 320 CSS pixels where reflow is expected.
- Zoom does not force unnecessary two-dimensional scrolling.
- Breakpoints are based on layout needs, not device-model assumptions.
- Real content has been tested, including long and short values.
- Real devices and multiple browsers have been checked.
- Core Web Vitals and mobile performance have been measured after implementation.
Common Responsive Web Design Mistakes
Designing Desktop First and Treating Mobile as Cleanup
This often produces oversized desktop components that have to be patched with many mobile overrides. Starting narrow usually creates a simpler base system.
Hiding Useful Content on Mobile
Responsive design should change presentation, not remove the information users need. This can also create mobile-first indexing problems if important content exists only in the desktop experience.
Using Too Many Breakpoints
A breakpoint for every component issue creates fragile CSS. Try fluid layout techniques and component-level container queries before adding more viewport rules.
Assuming Tablet Will Work Automatically
Tablet widths frequently expose crowded navigation, awkward grids, and oversized mobile patterns. Test tablet layouts explicitly.
Sending the Same Large Media to Every Device
A responsive image can look correct while still wasting bandwidth. Match delivered media more closely to its rendered size.
Fixed Heights Everywhere
Fixed-height cards, heroes, and content areas break when text wraps, fonts load differently, or content is translated. Prefer content-driven height unless a fixed ratio is essential.
Using overflow-x: hidden as a Universal Fix
This can conceal broken sizing and may clip content or focus states. Find the actual overflowing element.
Testing Only Popular Device Presets
Presets are snapshots. A responsive site must work between them too.
Responsive Design Is Part of the Whole Website System
Responsive behavior affects more than CSS. It changes how visitors discover content, use forms, compare services, navigate, and convert. It also affects image delivery, performance, accessibility, search crawling, and the maintainability of the design system.
For a business site, responsive decisions should therefore be made alongside content structure, conversion paths, SEO, performance, and development architecture. If you are planning a new site rather than only fixing an existing layout, our small business web design guide covers the wider process from strategy to lead generation.
A good responsive website does not draw attention to its breakpoints. It simply feels appropriate wherever it is opened.
Frequently Asked Questions
What is the best approach to responsive web design?
A mobile-first, fluid approach is a strong default. Build the narrow layout first, use flexible Grid and Flexbox rules where possible, add media queries when the layout genuinely needs to change, and use container queries for components that need to respond to their own available space.
What are the best breakpoints for mobile, tablet, and desktop?
There is no universal set. Values such as 480px, 768px, 1024px, and 1280px are common references, but breakpoints should be added where your actual content and layout stop working well. Test continuously between widths rather than designing only for named device sizes.
Is responsive web design good for SEO?
Yes. Google recommends responsive web design as the easiest mobile configuration to implement and maintain. It keeps the same URL and HTML content across devices, which also avoids many of the complications associated with separate mobile URLs. Responsive design still needs good performance, crawlable content, and mobile content parity.
Should I hide desktop content on mobile?
Avoid hiding important content only because the screen is smaller. You can change presentation by using accordions, stacked layouts, compact navigation, or different media crops, but mobile users and search engines should still have access to the important information and functionality.
Are container queries better than media queries?
They solve different problems. Media queries are useful for page-level changes based on viewport or device characteristics. Container queries are useful when a reusable component needs to change based on the size of the container it is placed inside. Modern responsive systems can use both.
How do I make images responsive without slowing down mobile pages?
Size images with flexible CSS, provide multiple source widths with srcset, describe expected display size with sizes, use <picture> when art direction is needed, specify intrinsic width and height, compress files, and avoid loading oversized assets when smaller versions are sufficient.
How should responsive websites handle tablets?
Treat tablet as a genuine layout state and test both portrait and landscape. Check navigation, card grids, forms, tables, sticky elements, sidebars, and touch targets. A tablet is not always best served by either the mobile or desktop layout unchanged.


