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: Optimize @keyframes to use from/to format #23

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

API: Optimize @keyframes to use from/to format #23

codeworksdev opened this issue May 10, 2018 · 0 comments

Comments

@codeworksdev
Copy link
Owner

codeworksdev commented May 10, 2018

Every @keyframe included in the standard distribution package has been optimized to use from/to syntax vs. 0%/100% syntax. This provides better compatibility with some older devices and platforms.

EXAMPLE

#a.keyframes(
    rotateInUpRight; {
        from {
            #a._transform-origin(right bottom);
            #a._transform(rotate3d(0, 0, 1, -90deg));
            opacity: 0;
            }

        to {
            #a._transform-origin(right bottom);
            #a._transform(translate3d(0, 0, 0));
            opacity: 1;
            }
        }
    );
@codeworksdev codeworksdev changed the title API: Optimize standard keyframes to use from/to format API: Optimize animations to use from/to format May 11, 2018
@codeworksdev codeworksdev changed the title API: Optimize animations to use from/to format API: Optimize @keyframes to use from/to format May 16, 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