I need assistance with using a customized icon within a bootstrap button. This is the snippet of HTML code I am working with:
<button class="btn btn-info pull-right toggle" data-pausetext="Break In"
data-resumetext="Resume" ><i class="icon-play"></i> Clock In</button>
Here is the relevant CSS from my stylesheet:
.icon-play {
background-image: url(../img/Clock-Play.png) no-repeat;
background-position: center center;
}
Unfortunately, the icon does not appear inside the button as expected. Any help would be greatly appreciated. Thank you.