I am trying to figure out how to add a check mark next to text in a button with specific styling. I have managed to get the check mark aligned properly using Background:left center, but I also want to add padding and adjust spacing. Is there a way to achieve this using the code provided at JSFiddle? My goal is to center the check mark and give it some breathing room.
.Button {
padding:10px;
border:1px solid #000;
width:auto;
color:#CCC
}
.Button:hover {
color:#FFF;
cursor:pointer;
}
.Check{
background:url('http://67.184.73.19/Munet/Assets/Pictures/OffTick.png') no-repeat;
}
.Check:hover {
background:url('http://67.184.73.19/Munet/Assets/Pictures/Tick.png') no-repeat;
}
HTML:
<div class="Button Check" style="background-color:rgb(69,72,77);">Test</div>