One of my current projects involves creating a pill button with the following styling:
<button class="button">Pill Button</button>
.button {
border: 1px solid red;
color: black;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px 2px;
cursor: pointer;
border-radius: 16px;
}
I'd like to add a cross inside this button, which will allow users to remove it from the page when clicked. The image for the cross can be found here. Can you advise on how I can achieve this functionality?