Answers for "css adjust button text size by length"

2

css size button

button {
  font-size: 20px; /* Put your wanted size for your button here*/
}
Posted by: Guest on November-21-2020
-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

Browse Popular Code Answers by Language