Skip to content

API: New variable @o_animateless_classless #43

Closed
@codeworksdev

Description

@codeworksdev

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();    }
    ...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions