0

How can i make the button bigger or that the text can be in the button

The reset button is too small https://sololearn.com/compiler-playground/W8BJEoy48w0k/?ref=app

25th May 2024, 7:53 PM
🇸🇾 Abdulaziz Alnaser 🇸🇩
🇸🇾 Abdulaziz Alnaser 🇸🇩 - avatar
3 Réponses
+ 2
In your css file, you can either adjust the width of your button to give enough room for the words horizontally(150 looks good), or you can remove your defined height and it will wrap the text vertically
25th May 2024, 9:50 PM
Heather Ambrosio
Heather Ambrosio - avatar
29th May 2024, 12:00 PM
🇸🇾 Abdulaziz Alnaser 🇸🇩
🇸🇾 Abdulaziz Alnaser 🇸🇩 - avatar
0
Simple increase the width of the button via CSS. button { width:100px; }
25th May 2024, 8:02 PM
Chris Coder
Chris Coder - avatar