How can I increase the height of button in html??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I increase the height of button in html???

27th Mar 2018, 4:26 PM
Rahul Sinha [ Left ]
Rahul Sinha [ Left ] - avatar
3 Answers
+ 5
you can use height property along with id or class
27th Mar 2018, 4:29 PM
Scooby
Scooby - avatar
+ 1
button { height: 100px; } ^There ya go. Replace 'button' with the ID/Class, or if you wish to apply to all buttons leave it alone.
27th Mar 2018, 4:31 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
You can do it directly adding an attribute property called height to your button element or you could css like jacob is mentioning :) If you want to adjust the height in a dynamic way you can use javascript/jquery
27th Mar 2018, 4:49 PM
***
*** - avatar