I'm trying to add padding
to the space above a button created with CSS. The button CSS already has padding
in it around the text so if I try to add padding-top
it just changes the size of the button rather than move it down closer to the element below it which is what I'm trying to do.
This is the CSS:
button {
background: #c00;
background: -webkit-linear-gradient(#c00, #600);
background: linear-gradient(#c00, #600);
border-radius: 999px;
color: #f6f4f4;
padding: 10px 100px;
font: normal 700 24px/1 "Open Sans", sans-serif;
text-align: center;
text-shadow: 1px 1px 0 #000;
margin-left: 80px;
}
Aucun commentaire:
Enregistrer un commentaire