Skip to content

Conversation

@bsmth
Copy link
Member

@bsmth bsmth commented Sep 5, 2023

This PR changes the examples on https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units#color to get rid of legacy syntax. Follow-up incoming of other examples needed.

  • Get rid of commas: rgb(2,121,139) -> rgb(2 121 139)
  • Use alpha channel: rgba(2, 121, 139, 0.3) -> rgb(2 121 139 / 0.3)
@bsmth bsmth requested a review from dipikabh September 6, 2023 09:16
@Rumyra Rumyra merged commit 3d66056 into mdn:main Sep 6, 2023
@bsmth bsmth deleted the learn-css-rgba-rgb branch September 7, 2023 12:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants