Ask coding questions

← Back to all posts
So, how do I make the button bigger height wise cuz when I do height: 100%; in css it does not work
[deleted]

Plz tell in comments plz plz plz

Answered by InvisibleOne (2683) [earned 5 cycles]
View Answer
Comments
hotnewtop
InvisibleOne (2683)

In the css, you should so something like this

button {
  height: 300px; /* Changes the height */
  width: 500px; /* Changes the width */
}

Right now your width is at 105%, which is bigger then the screen is since the screen can only be 100% wide.

BD103 (125)
button {
  height: 50%;
  margin: 0;
}