Responsive Web Design
Responsive web design is an approach for building one web page that adapts its layout, media, and controls to the space and input methods available. It combines flexible sizing, modern CSS layout, conditional rules, and testing across viewports.
itWeb development | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
Responsive Web Design
Responsive web design, or RWD, is an approach for making one document work across a range of screens, window sizes, zoom levels, orientations, and input methods. The browser receives the same semantic HTML, then CSS lets the presentation adapt to the space and capabilities available.
RWD is not a separate language or a list of device presets. It is a design system built from flexible foundations, intrinsic layout, conditional rules, responsive media, and verification. A page succeeds when its content and controls remain understandable and usable as the available space changes.
The rendering path
The browser parses HTML into a document structure and CSS into rules. It resolves the cascade, calculates each box's size and position, and paints the result inside the viewport. Responsive rules participate in that same process.
A media query asks about the viewport or another environment feature. When its condition is true, the declarations inside it join the cascade. A container query instead asks about a declared ancestor container, so a reusable component can respond to its local space rather than the entire window.
The viewport meta element matters on mobile browsers. A declaration such as <meta name="viewport" content="width=device-width, initial-scale=1"> asks the browser to use the device-width viewport instead of laying out a wider virtual canvas and shrinking it. Without that relationship, width-based rules can evaluate against an unexpected layout viewport.
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Responsive_Design
Supports
- Responsive design as an approach rather than a separate technology
- Fluid grids, flexible media, media queries, and mobile-first design
- Content-driven breakpoints and relative breakpoint units
- Responsive behavior of Flexbox and Grid
- Intrinsic layout patterns, typography, and viewport metadata
- Intro, slides, cheatsheet, video, infographic, and quiz answers
- https://www.w3.org/TR/mediaqueries-3/
Supports
- Media query structure, media features, evaluation, operators, and error handling
- Conditional presentation without changing document content
- Cascade behavior discussed by the course
- https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Media_queries
Supports
- Width conditions and breakpoint selection
- Media queries as a responsive-design tool
- Testing conditions by resizing the viewport
- https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment/Container_queries
Supports
- Container queries as conditions based on an ancestor container
- Establishing an inline-size containment context
- Component-local adaptation and container units
- Quiz distinction between viewport and container context
- https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Responsive_images
Supports
- Responsive image resource selection with srcset and sizes
- Art direction with picture
- Viewport metadata for mobile layout
- Responsive image quiz answers
- https://www.w3.org/WAI/WCAG22/Understanding/reflow.html
Supports
- Reflow at 320 CSS pixels for vertically scrolling content
- Avoiding loss of information, functionality, and two-dimensional scrolling
- Exceptions for genuinely two-dimensional content
- Reflow and table quiz answers
- https://developer.chrome.com/docs/devtools/device-mode
Supports
- Viewport, CPU, network, orientation, and geolocation simulation
- Device Mode as an approximation rather than a physical device
- Real-device confirmation guidance and quiz answers
- https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/index.html
Supports
- Viewport, pixel-density, and touch-related simulation
- Continuous responsive testing in Firefox
- Quiz answer about resizing between presets
- https://alistapart.com/article/responsive-web-design/
Supports
- The 2010 term Responsive Web Design
- Fluid grids, flexible images, and media queries as the original ingredients
- One flexible experience rather than device-specific experiences by default
- Timeline milestone
- https://github.com/sindresorhus/awesome
Supports
- Discovery of the curated Awesome CSS list
- https://github.com/awesome-css-group/awesome-css
Supports
- Discovery of Bootstrap, Tailwind CSS, Foundation, Bulma, Pure CSS, and Can I use
- Relevance of responsive frameworks and compatibility tooling
- https://getbootstrap.com/docs/5.3/layout/grid/
Supports
- Bootstrap responsive grid, containers, rows, columns, and breakpoint tiers
- Bootstrap Awesome Link rationale and Landscape placement
- https://tailwindcss.com/docs/responsive-design
Supports
- Mobile-first responsive variants and breakpoint ranges
- Custom breakpoint tokens and container-query variants
- Tailwind Awesome Link rationale and Landscape placement
- https://get.foundation/sites/docs/grid.html
Supports
- Responsive XY Grid, breakpoint cells, gutters, and Sass configuration
- Foundation Awesome Link rationale and Landscape placement
- https://bulma.io/documentation/start/responsiveness/
Supports
- Mobile-first vertical defaults, breakpoints, and responsive mixins
- Bulma Awesome Link rationale and Landscape placement
- https://purecss.io/grids/
Supports
- Pure responsive grid modules and media-query-specific classes
- Pure CSS Awesome Link rationale
- https://caniuse.com/
Supports
- Browser support tables for web platform features
- Can I use Awesome Link rationale
- https://www.w3.org/standards/history/CSS1/
Supports
- CSS Level 1 Recommendation date of 17 December 1996
- Timeline foundation milestone
- https://www.w3.org/TR/1998/REC-CSS2-19980512/
Supports
- CSS2 Recommendation date of 12 May 1998
- Media-specific styles for visual, print, speech, and handheld presentation
- Timeline milestone
- https://www.w3.org/standards/history/mediaqueries-3/
Supports
- First Media Queries Working Draft on 4 April 2001
- Media Queries Level 3 Recommendation on 19 June 2012
- Timeline milestones
- https://www.w3.org/standards/history/css-flexbox-1/
Supports
- First Flexbox Working Draft on 23 July 2009
- Timeline milestone
- https://www.w3.org/standards/history/css-grid-1/
Supports
- First Grid Working Draft on 7 April 2011
- Candidate Recommendation Snapshot on 14 December 2017
- Timeline milestones
- https://web.dev/blog/cq-stable
Supports
- Container size queries available across stable major browser engines by 14 February 2023
- Local component response based on container space
- Timeline milestone
- https://www.browserstack.com/
Supports
- Hosted browser and real-device testing role in the responsive verification market
- BrowserStack Landscape placement
- https://www.lambdatest.com/
Supports
- Hosted cross-browser and responsive testing role
- LambdaTest Landscape placement
- https://polypane.app/
Supports
- Synchronized multi-viewport development and preference-state checks
- Polypane Landscape placement
- https://responsively.app/
Supports
- Open-source synchronized multi-viewport previews and mirrored interactions
- Responsively App Landscape placement
