If my layout is
BUTTON
TEXT
I’m trying to create room between BUTTON and TEXT. Trying something like
.bottom-gap {
padding-bottom: 150px
}
Only seems to increase the height of the button
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Padding is applied to the inside of the element. To add a margin to the bottom of the element, you need to use
margin-bottom: 150px. I’m assuming your button is an actual UI<button>element. If not, you need to make sure it’s displayed as an inline-block.