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.