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

I wonder if this would be a good way to avoid state flash when loading from local storage settings.

0 reposts0 likes

No replies yet.