Progressive Enhancement

suggest change

Start with a simple presentation that works without optional features, then add enhancements that supporting browsers can apply:

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@supports (grid-template-columns: subgrid) {
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }
}

Prefer capability checks, resilient fallbacks, and a documented browser-support policy over CSS parser hacks or user-agent detection. Browser-specific hacks depend on parsing bugs and can fail when compatibility modes or engines change.

Not every enhancement needs a pixel-identical fallback. Preserve access to content and controls first; visual refinements can degrade gracefully.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents