Answers for "make a button only the width of it's text"

CSS
-2

button width based on text csss

Remove the width and display: block and then add display: inline-block to the button.
Posted by: Guest on June-22-2020

Code answers related to "make a button only the width of it's text"

Browse Popular Code Answers by Language