Live demo https://codepen.io/thebabydino/pen/KK...
Note that this demo requires support for registering custom properties, which means it only works in Chromium browsers for now / 1482114654008655875
If the work I've been putting out since early 2012 has helped you in any way or you just like it, please consider supporting it to help me continue and stay afloat. You can do so in one of the following ways:
you can be a cool cat 😼🎩 and become a patron on Patreon / anatudor
you can make a one time donation via Ko-fi https://ko-fi.com/anatudor
you can make me happy by getting me a gift off my wishlist
🎁🇺🇸 https://www.amazon.com/hz/wishlist/ls...
🎁🇬🇧 https://www.amazon.co.uk/hz/wishlist/...
you can share this to show the world what can be done with CSS these days
Thank you!
---
Resources:
`place-content` vs. `place-items` (https://codepen.io/thebabydino/pres/G...)
Mask Compositing: The Crash Course (https://css-tricks.com/mask-compositi...)
The State of Changing Gradients with CSS Transitions and Animations (https://css-tricks.com/the-state-of-c...)
Taming Blend Modes: `difference` and `exclusion` (https://css-tricks.com/taming-blend-m...)
Polar (r, θ) ➞ Cartesian (x, y) coordinates (https://codepen.io/thebabydino/full/K...)
Emulating CSS Timing Functions with JavaScript (https://css-tricks.com/emulating-css-...)
`(sin((k - ½)·π) + 1)·½` vs. `ease-in-out` (https://codepen.io/thebabydino/full/a...)
`ease-in-out` as its `cubic-bezier()` equivalent (https://cubic-bezier.com/#.42,0,.58,1)
final easing function `cubic-bezier.com(.365, 0, .635, 1)` graphed (https://cubic-bezier.com/#.365,0,.635,1)
#css #cssVariables #loopingAnimation