
So I've employed this method for changing the images of my checkboxes: <input type="checkbox" /><span></span> /* Hide actual checkbox */ input[type="checkbox"] { opacity: 0; width: 16px; height: 16px; position: relative; top: 5px; left: 6px; margin: -10px; cursor: pointer; z-index: 1; } /* Fake checkbox */ input[type="checkbox"] + span::before { margin-right: 4px; line-height: 14px; text-align: center; display: inline-block; vertical-align: middle; content: url("<a href="https://i.imgur.com/s9AnejE.png" rel="nofollow">https://i.imgur.com/s9AnejE.png</a>"); width: 14px; height: 14px; font-size: 12px; } input[type="checkbox"]:checked + span::before { content: url("<a href="https://i.imgur.com/IYXFzsA.png" rel="nofollow">https://i.imgur.com/IYXFzsA.png</a>"); } And it works, great. But I'd really like to have a variety of checkbox-styles in the same sheet. How could I do that?