If you inspect a modern webpage built with Tailwind CSS v4 , shadcn/ui , or Linear using window.getComputedStyle() , classic CSS pickers break in surprisingly ugly ways:
CSS Color 4 everywhere : Chromium now returns oklch() , oklab() , and color(display-p3 ...) instead of rgb() . Any regex looking for rgba?() silently drops colors and breaks WCAG contrast checks.
Computed-style bloat : Dumping raw computed styles spits out dozens of browser defaults ( position: static , opacity: 1 , flex properties on block containers, and 4 separate padding-* / border-* declarations).
Sub-pixel grid tracks : getComputedStyle(el).gridTemplateColumns resolves repeat(3, minmax(0, 1fr)) into something like 312.33px 312.34px 312.33px .…