Loading video...
Video Failed to Load
CSS Tip! ✨ Combine :has() and trig functions to select previous siblings and create an Apple-style OS dock 🔥 CSS only, no JS! 🤯 .b:has(+ .b:hover), .b:hover + .b { flex: calc(0.2 + (sin(30deg) * 1.5)); translate: 0 calc(sin(30deg) * -75%); } CodePen.IO link below! 👇
517,488 views • 2 years ago •via X (Twitter)
0 Comments
No comments available
Comments from the original post will appear here
