Skip to content

API: New variable @o_animateless_classless #43

Closed

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

Activity

  1. changed the title [-]API: New option @o_animateless_classless[/-] [+]API: New variable @o_animateless_classless[/+] on May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions