A gradient is an image, not a color. It goes in background-image, not background-color, and the element must have a size: an empty block with no height has nothing to draw. The fallback uses the cascade: two identical properties in a row, with the second one using “in oklch”. A browser that does not understand this syntax discards the entire second declaration and keeps the first; a browser that does understand it overrides the first with the second.