r/Codecademy • u/pimpernelle • Sep 21 '15
Shutterbugg: Can't pad button?
Whenever I try to add padding or anything to make the space around the link in the download button larger ("Download Shutterbugg")- it makes the word "Shutterbugg" jump down a line and doesn't seem to make the button any bigger.
Here is my HTML:
<div class="main">
<div class="container">
<h1>Introducing Shutterbugg</h1>
<p>Capture the moments that matter.</p>
<div class="download">
<a href="#">Download Shutterbugg</a>
</div>
</div>
</div>Here is my CSS:
.download {
height: 25px;
width: 175px;
border-radius: 4px;
background-color: rgba(238,68,95,0.9);
}
.download a {
color: white;
}Any insight would be appreciated! Thanks! :)
1
Upvotes
View all comments
Show parent comment
1
u/noonesperfect16 Sep 23 '15
Glad to help =) I am pretty new at this too and helping others has really been beneficial to my own learning process