Skip to content

Allow progressive enhancement using repeated CSS properties#187

Open
marek-saji wants to merge 1 commit intoanandthakker:masterfrom
verkstedt:feat/progressive-enhancement-repeated-props
Open

Allow progressive enhancement using repeated CSS properties#187
marek-saji wants to merge 1 commit intoanandthakker:masterfrom
verkstedt:feat/progressive-enhancement-repeated-props

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