[css-transforms-2] Syntax of individual transforms should reflect general CSS syntax
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
For example: Individual translate is only usable like so: translate: 0 0 10px
But translate as an individual property should be a shorthand for
translate-x, translate-y, and translate-z
In my opinion, this would reflect the current CSS syntax with other properties, like overflow, background-position, scroll-snap-type, and so on. Otherwise, it feels kind of inconsistent to me.
Or is there any technical reason that we cannot provide that syntax for individual transforms?
Spec: https://www.w3.org/TR/css-transforms-2/#individual-transforms
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CSS Transforms Level 2 specification, especially the individual-transforms section, and review the issue discussion for the syntax proposal and technical constraints. Done means the CSS Working Group has resolved whether individual translate should follow the proposed shorthand syntax and the specification reflects the agreed decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100