Skip to content

API: New mixin #a.transitions #45

@codeworksdev

Description

@codeworksdev

Similar to #a.transition, but allows you to pass one or more single-property transitions, separated by commas. Each single-property transition describes the transition that should be applied to a single property (or the special values all and none).


EXAMPLE

#a.transitions(
    margin-right 4s,
    color 1s;
    );

Note: Always remember to end your comma-separated CSS list with a semicolon to tell the compiler a list is being passed as a single argument (reference).


DEFINITIONS (2)

DEFINITION 1

#a.transitions(@list) {
    .vendor(
        transition;
        @list
        );
    }

DEFINITION 2

#a._transitions(@list) {
    @{vendor}transition: @list;
    }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions