Container queries and CSS make it simple to smoothly transition an element to the other side of its parent container without knowing exact dimensions or distance. Read more in my latest post: ryanmulligan.dev/blog/transit...
18 reposts113 likes
Container queries and CSS make it simple to smoothly transition an element to the other side of its parent container without knowing exact dimensions or distance. Read more in my latest post: ryanmulligan.dev/blog/transit...
18 reposts113 likes
Thank you for this very elegant solution! Having already had to deal with this constraint, I used another more compatible solution: combining a pseudo-element with flex-grow: codepen.io/raphaelgoett...