An svg loading indicator with stroke-dashoffset animation.
Tip: set the length of an svg path with pathLength attribute to use predictable values for stroke-dasharray and stroke-dashoffset properties.
https://t.co/25tFbFNQjk at @CodePen
An another pen for @CodePen@vuejs challenge.
Here's a little trick: use nth-child(n):nth-last-child(k) selector to define styles depending on the element's position (n) and the total amount of elements in the container (k).
Check out the example here:
https://t.co/lwLvUI7gWP
Although grid-row/column properties aren't animatable, we still can make smooth transitions between the states using JS and a "flip animation" technique.
Check out the example at @CodePen: https://t.co/6IYOPeIDk5
CSS vars can be used to store values generated with sass loops for a particular element. Every rectangle has its own variables for rotation and scale, which are calculated in a sass loop and used to animate the element.
https://t.co/EJKTkOGmJM via @CodePen
Just draw a rectangle, rotate, scale, repeat. Also, don't forget to add some weird coloring function and the thing is living on its own now.
Rectangularity https://t.co/CpvRoLm634 via @CodePen
Almost a real guitar in your browser?
Not actually, but supposed to be fun anyway
(sorry, the sound doesn't work in Safary and FF).
Guitar, guitar https://t.co/RSN8KxHWl9 via @CodePen
What could we do using line-drawing functions only? Almost everything I'd say. Let it be a wave pattern this time. https://t.co/Hay0DLLLK6 via @CodePen