Neat piece is the responsive morph using CSS min() ✨
jhey ʕ•ᴥ•ʔ
在 X 上查看@jh3yy15万 位关注者
64,817 次观看
Neat piece is the responsive morph using CSS min() ✨
[popover] {
transition-property: display, width, height;
transition-behavior: allow-discrete;
width: anchor-size(width);
@starting-style {
width: min(640px, 100vw - 2rem);
}}
5 条评论
评论来自 X (Twitter) 上的原帖

@Aweeshathavisha
Below I mentioned Tailwindcss Code for that. 💫 <div class="transition-all duration-300 ease-in-out max-w-[640px] w-[calc(100vw-2rem)]"> <!-- Content here --> </div> (If have any issue please inform that.🥰)
1 个赞

@noekrebs_
How are you making these controls in the top right corner? They look so nice.

@I601HK6IdUhdk3X
@memdotai mem it

@memdotai
@jh3yy Saved! Here's the compiled thread:

@Play10Never
Cuando algún vídeo sobre como hacer estás cositas 🧐🧐
