Answers for "button size content"

1

button size html

<button style="height:40px; width:40px;">Press Me</button>
Posted by: Guest on March-31-2021
-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