Skip navigation
Neat piece is the responsive morph using CSS min() ✨
0:00 / 0:22

Neat piece is the responsive morph using CSS min() ✨

jhey ʕ•ᴥ•ʔ

@jh3yy146K followers

Visit on X
797 likesDownloadOriginal post

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)

  • Aweesha Thavishanka's profile picture

    @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

  • Noé's profile picture

    @noekrebs_

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

  • Nil's profile picture

    @I601HK6IdUhdk3X

    @memdotai mem it

  • Mem's profile picture

    @memdotai

    @jh3yy Saved! Here's the compiled thread:

  • Deus lo vult's profile picture

    @Play10Never

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