Skip to content

Conversation

@marek-saji
Copy link

Why?

When a browser doesn’t understand a CSS declaration, it ignores it. That fact is used to do progressive enhancement by specifying the same property twice — if second one is not supported, browser will fall back to the first one, e.g.

p {
  color: black;
  color: rgba(0, 0, 0, 0.5);
}

@marek-saji marek-saji force-pushed the feat/progressive-enhancement-repeated-props branch from a626c3d to 581faa5 Compare July 30, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant