HOW I can rise my button size. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HOW I can rise my button size.

I say HTML tag. The button tag. In there i want to large my button. How i can do it please say

24th Jul 2022, 5:20 PM
Shihavul Islam
Shihavul Islam - avatar
1 Answer
0
I mostly use just padding to make button bigger, with padding I can "move" text inside button from edge so it looks nice. And I use width and height when I need buttons to be same size each, if you use padding also, it is good practice to use box-sizing: border-box; so our total width wont be width-padding, but just width we set.
25th Jul 2022, 6:47 AM
PanicS
PanicS - avatar