Amelia Wattenberger avatar Amelia Wattenberger

The CSS Cascade, or how browsers resolve competing CSS styles

Screenshot of “The CSS Cascade, or how browsers resolve competing CSS styles”

This is a great explanation/illustration of the CSS Cascade! 👍


  1. Do you know good tutorials and/or examples about dealing with responsive images that are fluid horizontaly, but with a fixed height?

    Using object-fit: cover; in the CSS is easy, but how can we prevent loading many pixels that will be hidden, without using too many <source> in a <picture>?