LodeHQ
AI news for people who shipFree, by email

Dev · developer.chrome.com · Sunday, 2 August 2026

Chrome 137 introduces CSS if() for inline conditional styles

Chrome 137 ships a new CSS if() function that lets you embed conditional logic—media, style, or supports queries—directly in property values. This replaces separate @media blocks and enables cleaner, inline styling for responsive layouts, feature detection, and UI state. Developers can now write tighter CSS without juggling multiple rule sets.

Read the source: developer.chrome.com ↗In the 2 August issue →