[csswg-drafts] [css-transforms] Keywords for `transform`

Crissov has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-transforms] Keywords for `transform` ==
The 
[`transform`](https://drafts.csswg.org/css-transforms/#propdef-transform)
 property currently accepts `none` or a list of [transform 
functions](https://drafts.csswg.org/css-transforms/#typedef-transform-function).
 I beleive it would make sense to add some keywords for common use 
cases. This could make code more readable especially for beginners and
 math-illiterates.

| Keyword | Equivalent function |
|----------|--------------------|
| `flip-vertical` | `scale(1, -1)` |
| `flip-horizontal` | `scale(-1, 1)` |
| `mirror` | flip in writing direction? |
| `rotate` | `rotate(0.5turn)` |
| `rotate-clockwise` | `rotate(0.25turn)` |
| `rotate-anticlockwise` | `rotate(0.75turn)` |
| … | … |

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/944 using your GitHub 
account

Received on Monday, 16 January 2017 16:59:31 UTC