Comm 333 Web Design II

Skip to navigation

Responsive Media

  • CSS Responsive images [covered in class]
    • background images with media queries and background-size property
  • Responsive Images in HTML
    • srcset and sizes attributes
    • pixel density and width options
    • picture element for art direction
  • Responsive Video
  • Browser Testing Responsive Images
  • SVG (see SVG module)

Pixel Density Demos

Below are examples of images set to render at different pixel densities. You'll need to view them on a variety of screens to get the full effect. Note: since the classroom iMacs have a dppx of 1, you should not notice much different in these examples.

Other Links

Relevant Library Code