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 variable @o_animateless_classless #43

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

API: New variable @o_animateless_classless #43

codeworksdev opened this issue May 11, 2018 · 0 comments

Comments

@codeworksdev
Copy link
Owner

codeworksdev commented May 11, 2018

By default, this variable is disabled (false). If set to true, tells the compiler to avoid generating the many pre-defined CSS classes used for animating elements (i.e., CSS classes that reference @keyframes in the standard distribution package).

Note: The compiler will always generate all pre-baked @keyframes, regardless of whether this variable is enabled or not. Otherwise, standard animations won't work, obviously!

EXCERPT

.animated when (@o_animateless_classless = false) {
    #a.animated();

    &.infinite           { #a.iterate(infinite); }
    &.bounce             { #a.bounce();          }
    &.bounceIn           { #a.bounceIn();        }
    &.bounceInDown       { #a.bounceInDown();    }
    &.bounceInLeft       { #a.bounceInLeft();    }
    ...
@codeworksdev codeworksdev changed the title API: New option @o_animateless_classless API: New variable @o_animateless_classless May 14, 2018
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