Neat piece is the responsive morph using CSS min() ✨
jhey ʕ•ᴥ•ʔ
Visit on X@jh3yy146K followers
64,817 views
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 Comments
Comments from the original post on 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 like

@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 🧐🧐
