Answers for "how to fit text in button css"

4

html button size

transform: scale(4); /* This will make the component 4 times bigger  */
Posted by: Guest on July-28-2020
0

text size to fit button

/*I have absolutely no idea how to do this properly*/
/*The closest I can do is - */
/*Make the text just right, trial and error with:*/
text-align: center;
font-size: 20px;
Posted by: Guest on October-22-2020

Browse Popular Code Answers by Language