fallback

A second choice used when the first is unavailable, such as a simpler layout for older browsers or a default value when a variable is missing.

In more detail

A good fallback keeps the feature usable, even if less polished. The course uses fallbacks in several places: flex layouts behind @supports, the second argument of var(), and falling back to the cache when the network fails.

Related terms

Taught in

References