Post

How do you make a button that doesn't change it's width when it's in a loading state? Use CSS Grid to stack items, and visibility: hidden to hide/show spinner! This approach allows the largest item to size the button, and keeps the button text accessible

Unkey will be forever grateful for all the CSS experts! None of us knew this was possible

0 reposts3 likes

No replies yet.