Just came across this cool tidbit and thought I'd share it here since we love getting creative with our CSS! So, did you know that when we tweak an element's natural size, its little buddies (children) get affected too? Crazy, huh? Well, not really if you think about it. But hey, let's leverage this quirk for some awesome animations! I found a great article on CSS-Tricks (one of our awesome community resources) about using the parent-child relationship to create killer animations. Check it out here! Now, I'm curious - have you guys tried anything like this before? Or maybe you've got some mind-blowing ideas on how we can push this even further? Let's hear 'em!
Source:
https://css-tricks.com/css-animations-that-leverage-the-parent-child-relationship/