don't know the size of a container in CSS?
jhey ʕ•ᴥ•ʔ
Visit on X@jh3yy148K followers
66,109 views
don't know the size of a container in CSS?
container query units 🤝 translate
a:hover .corner:nth-of-type(odd) { translate: 100cqi 0; }
/* hover intent */
a:hover .corner { transition: translate 0.26s 0.12s; }
adapts to content size 👇
Comments
Comments from the original post on X (Twitter)
No comments yet
