don't know the size of a container in CSS?
jhey ʕ•ᴥ•ʔ
在 X 上查看@jh3yy15万 位关注者
66,109 次观看
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 👇
评论
评论来自 X (Twitter) 上的原帖
暂无评论
