Last active
October 26, 2019 22:17
-
-
Save zlwaterfield/34775f7d2dcbcdda0c746d3be3cdf837 to your computer and use it in GitHub Desktop.
Blog post snippet - https://medium.com/gofaros/dynamic-and-responsive-svg-3de87f757e0d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$timeline-num-line-items: 10; | |
$timeline-item-transition-delay: 0.5s; | |
.timeline.is-visible { | |
animation: draw ($timeline-num-line-items * $timeline-item-transition-delay - $timeline-item-transition-delay) $timeline-item-transition-delay * 3 1 linear forwards; | |
} | |
@keyframes draw { | |
100% { | |
stroke-dashoffset: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment