Skip to content

How to made dynamic SVG illustration on the document site top? #899

Answered by kettanaito
ryota-murakami asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, @ryota-murakami. Nice to hear from you.

For most of the animated graphics on the website, I've used Sketch. The app itself doesn't do any animation, but it allowed me to draw illustrations, export them in SVG, and then animate certain elements via plain CSS. Our website is open-sourced, so you can see how that very illustration is brought to life here.

For that particular illustration there's a dotted line with an animated dash offset, which creates an effect of movement. Then the REST and GraphQL parts on the top/bottom are, actually, always present, just hidden via CSS and transitioned from respective sides with a timed delay so they don't overlap.

I'm sure there's a more efficie…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ryota-murakami
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants