Skip to content

[css-transforms-2] Please remove from drafts: scale, translate, rotate CSS style etc.  #2126

@Nadya678

Description

@Nadya678

Example:

transform:scale(2) translate(50px,50px);
transform:translate(50px,50px) scale(2);

THERE ARE TWO DIFFERENT TRANSFORMS. It cannot be separated to scale and translate.
Living demo: https://jsfiddle.net/p7sb1o6h/
If there will be the same transform, the red and blue rectangle shall be in the same visual position.

The scale, translate, rotate etc. styles (not transforms) shall be removed from all drafts.

The

{
   transform:scale(-1) translate(50px,50px);
}

cannot be translated to:

{
   scale:-1;
   transform:50px 50px; 
} 

transforms are made in order in which they was defined.
What is order of transformations in this case?

div
{
   scale:-1;
}
html div
{
   transform:50px 50px;
}

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