Skip to content

Use svg and animate on stroke-dashoffset #10

@stevemao

Description

@stevemao

css width property would force reflow (https://gist.github.com/paulirish/5d52fb081b3570c81e3a, https://csstriggers.com/width). stroke-dashoffset doesn't so it's a lot more efficient. Alternatively you could use transform: scaleX()

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