Skip to content

CSS 3D transforms for hardware-accelerated animations? #5

@lewisl9029

Description

@lewisl9029

Thank you for your work on this library.

I tried using this on a project recently and while it definitely looks great, the animations can get a bit choppy during the initial loading screen where a lot of JS is being loaded and executed.

I'm wondering if you've already looked into the possibility of using the 3D variants of the CSS transform functions you're using (i.e. translate3d() vs translateX(), and scale3d() vs scaleX())? I think there might be some room for performance increases here since the 3d versions are hardware-accelerated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions