Site architecture

Colophon

Every web platform feature below is active on this site right now—open DevTools to verify how it is used.

Platform features in use

Web platform features used to build frontend.rocks
FeatureWhere on this siteHow to checkSupport
Cascade layersEvery stylesheet on this site lives in one of seven layers, so component styles always beat legacy rules.DevTools → Elements → Styles: each rule shows its @layer name.Baseline · Widely available
Container queriesConcept cards switch from stacked to a two-column layout based on their own inline size.DevTools → Elements: inspect .ui-card and look for the container badge and @container rules.Baseline · Widely available
:has()Hovering or focusing a claim marker highlights the proven sentences inside its parent paragraph without JavaScript.DevTools → Elements → Styles: inspect a paragraph with a claim marker and look for :has(> .claim-marker:is(:hover, :focus-visible)).Baseline · Widely available
Popover APINavigation menus and claim receipt popovers use popover="auto" for native light-dismiss and top-layer stacking.DevTools → Elements: open a header menu and inspect the [popover="auto"] element in the #top-layer tree.Baseline · Newly available
Anchor positioningHeader menus and claim popovers tether to their trigger button via anchor-name and position-area, with a fixed fallback.DevTools → Elements → Styles: inspect .nav-menu-popover for position-anchor and position-area.Limited availability
Top layer & <dialog>The command palette and mobile navigation drawer use native showModal() dialogs with zero z-index hacks.DevTools → Elements: press Ctrl+K or ⌘K and inspect the open <dialog> inside #top-layer.Baseline · Widely available
inertModal dialogs render the background document inert so keyboard focus stays trapped inside the active overlay.Open the command palette or mobile menu and press Tab repeatedly: focus never reaches background links.Baseline · Widely available
View TransitionsPage changes cross-fade, and a case file color block grows into the page header across document navigations.DevTools → Animations panel captures the ::view-transition pseudo-elements on navigation.Limited availability
Speculation RulesHovering an internal link for 200 ms prerenders the next document before click.DevTools → Application → Speculative loads lists the prerendered URLs.Limited availability
bfcachePages avoid unload handlers and Cache-Control: no-store so Back and Forward navigations restore instantaneously.DevTools → Application → Back/forward cache: click Test back/forward cache on any listing page.Baseline · Widely available
content-visibilityLong listing cards on the catalog, symptoms, and autopsies pages skip offscreen layout and paint with content-visibility: auto.DevTools → Elements → Styles: inspect an item inside .catalog on /concepts/ for content-visibility and contain-intrinsic-size.Baseline · Newly available
Scroll-driven animationsThe article reading progress bar and header scroll rule animate directly from scroll(root block) with zero JavaScript.DevTools → Elements → Styles: inspect .reading-progress or .site-header for animation-timeline: scroll(root block).Baseline · Newly available
Scroll snapOn narrow viewports, the homepage pieces rail snaps cleanly to each case tile with scroll-snap-type: x mandatory.DevTools → Device Toolbar (390 px): inspect .home-pieces-rail and look for the scroll-snap badge.Baseline · Widely available
Fallback font metricsSelf-hosted Newsreader and IBM Plex Mono ship metric-adjusted fallback @font-face rules to prevent layout shift on load.DevTools → Sources or Elements → Computed: inspect the generated fallback @font-face declarations for size-adjust.Baseline · Newly available
dvh unitsThe concept map canvas and sticky article rail size against 100dvh so mobile browser chrome never clips them.DevTools → Elements → Styles: inspect .map-stage-row on /map/ or .article-rail on a concept page for 100dvh.Baseline · Widely available

Stack

Next.js 16.4.6
Static export to plain HTML, CSS, and minimal client islands with multi-page navigation.
Netlify
Static hosting, HTTP redirects, and edge functions deployed from CI artifacts.
Playwright 1.65.1
Automated Chromium, Firefox, and WebKit verification for browser experiments and end-to-end checks.
Gemini
Assists with drafting and verification workflows behind the scenes; published claims are verified by machines.