Skip to content

[css-transforms-2] Syntax of "rotate" judged unintuitive (and not interoperable anyway) #1269

Closed
@FremyCompany

Description

@FremyCompany

It seems Chrome doesn't support the syntax of rotate: 0 0 1 45deg. Interestingly, Edge does not either but supports rotate: 45deg 0 0 1 instead.

Discussing with devs on Twitter, devs thought the current syntax is not clear:

  • what are those three numbers?
  • can you put the angle between them?
  • are they related in any way?

Maybe we should change the syntax to make the grouping clearer, and also allow to reorder. An idea would be rotate: 45deg axis(0 0 1).

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions