Skip to content

Transform with duration and delay #566

Description

@MattPostlethwaite

Transform breaks after compilying when set up like this:

div {
     transition-property: top, transform, width;
     transition-duration: 0.3s, 0.3s, 0.3s;
     transition-delay: 0.3s, 0s, 0.5s;
}

As it outputs like this:

div {
     -webkit-transition-property: top, width, -webkit-transform;
     transition-property: top, width, -webkit-transform;
     transition-property: top, transform, width;
     transition-property: top, transform, width, -webkit-transform;

    -webkit-transition-duration: 0.3s, 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s, 0.3s;

     -webkit-transition-delay: 0.3s, 0s, 0.5s;
     transition-delay: 0.3s, 0s, 0.5s;
}

There is no fourth duration/delay setting for the -webkit-transform

Once I've added the fourth setting to the sass and compiled it the transition works as it should.

Note: I'm viewing the site in Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions