Skip to main
Link
12 Days of Web

Cascade Layers

Giving us control over the cascade

Don’t let specificity force you into strict selector conventions. Cascade Layers allow us to manage specificity without resorting to naming hacks or the !important flag.

See more at 12 Days of Web »

Specificity is only one part of the CSS Cascade, but it’s the part we interact with the most often – and it can quickly become a labyrinth of twisted selectors, frustration, and swearing. That’s a terrible way to start the holidays! Unless we’re talking about the Jim Henson movie, which is excellent…

  1. A woman cradles her head in her hands and covers her eyes rather than looking at a laptop's screen.
    Link post type

    Taking Interest

    Navigating to a new page is a relatively significant change, but interest invokers provide a declarative way to peek into a page without fully committing. They can also provide an additional view on an action.

    see all Link posts
  2. Baseline Radio the color theme color-mix playlist
    Link post type

    Color Themes with Baseline CSS Features

    So, you have a site that you want to build or redesign. Maybe you have a few core colors in mind, and you’re thinking about how to quickly implement a theme based on those colors. Baseline features can help!

    see all Link posts
  3. Grid of hot air balloon images
    Link post type

    Baseline Layered UI Patterns: <dialog> and popover

    Elements and windows that pop up on the screen are one of the most common patterns on the web. With use cases spanning from alerts and brief forms requesting data, to the now ubiquitous cookie settings prompt, these layered UI patterns are used frequently by developers.

    see all Link posts