Home › Forums › CSS › Is there a better way to make automatic resizable text buttons? › Reply To: Is there a better way to make automatic resizable text buttons?
October 1, 2017 at 10:11 am
#260785
Atelierbram
Participant
Why not just put the text inside the link, since the image is not used?
<ul class="share-buttons">
<li><a href="#">Share on Facebook</a></li>
Move the styling for the image over to the link, like:
.share-buttons a {
display: inline-block;
margin: 5px 25px 10px 10px;
padding: .25em .5em;
border: 3px outset #837a34;
background-color: rgba(0,0,0,.25);
}