Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: New mixin #a.transitions #45

Closed
codeworksdev opened this issue May 13, 2018 · 0 comments
Closed

API: New mixin #a.transitions #45

codeworksdev opened this issue May 13, 2018 · 0 comments

Comments

@codeworksdev
Copy link
Owner

codeworksdev commented May 13, 2018

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;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant