if() CSS function has partial support Browser Compatibility Check

Description

The CSS if() function is not supported by some browsers.

Help

Browsers that don’t support if() ignore the whole declaration. Put a declaration for the same property without if() before it, as a fallback for those browsers.

Applicable standards

Change history

  • 2026.62 Oct 2026 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: BugCssFuncIf