Responsive Issues Community Group

The RICG is a group of independent designers and developers working toward new web standards that will build fast, accessible, responsive websites.

Current Efforts

Container Queries

Initial Planning

Implementation Status

chrome firefox opera safari ie

Media queries allow authors to vary the layout of their page based on the dimensions of the viewport. Container queries will allow developers to vary the layout within specific elements on a page (and their children) based on the dimensions of the parent elements themselves, allowing for much more modular approaches to layout.

Work on container queries has just begun; we are still collecting use cases and working to understand technical constraints. Please contribute!

Documentation

Repo
https://github.com/ResponsiveImagesCG/cq-usecases
Use Cases
https://responsiveimagescg.github.io/cq-usecases/

picture Element

Complete

Implementation Status

chrome firefox opera safari edge

The picture element contains any number of child source elements and one img.

When this pattern is used with the media attribute on source elements, it allows developers to mandate that user agents must load specific sources when certain media conditions are met. This allows developers to specify alternate aspect ratios to align with layoutchanges, or alternate framing of image content for optimally highlighting the subject of the image at different sizes.

When picture and source are used with the type attribute, authors may supply the same image in alternate formats to be requested only by browsers that support said format.

Usage

<picture>
  <source srcset="large.jpg" media="(min-width: 800px)">
  <img src="small.jpg" alt="…">
<picture>

Documentation

Repo
https://github.com/ResponsiveImagesCG/picture-element
Use Cases
http://usecases.responsiveimages.org/
Specification
https://html.spec.whatwg.org/multipage/embedded-content.html#introduction-3:art-direction-3

Advanced srcset and sizes Attributes

Complete

Implementation Status

chrome firefox opera safari ie

srcset’s w descriptor and the sizes attribute allow developers to supply a range of alternate sources for images whose sizes vary within a responsive layout. Optionally working in conjunction with server-side resizing, these syntaxes allow for a fully automated “responsive images” solution.

Usage

<img src="small.jpg" sizes="100vw" srcset="med.jpg 800w, large.jpg 1400w" alt="…">

Documentation

Use Cases
http://usecases.responsiveimages.org/
Specification
https://html.spec.whatwg.org/multipage/embedded-content.html#introduction-3:viewport-based-selection-2

Basic srcset Attribute

Complete

Implementation Status

chrome firefox opera safari ie

The srcset attribute allows developers to supply user agents with alternate versions of an image, intended for display at different pixel densities.

In its most basic and well-supported form, srcset lets developers use x descriptors to specify the intended pixel-density of each source.

Usage

<img src="standard-definition.jpg" srcset="high-definition.jpg 2x">

Documentation

Use Cases
http://usecases.responsiveimages.org/
Specification
https://html.spec.whatwg.org/multipage/embedded-content.html#introduction-3:device-pixel-ratio-2

Subscribe to our newsletter!

Get news, announcements, and implementation updates every other Friday.