I'm trying to put some content before an input tag using CSS pseudo-class ::before. It works in Chrome but not in Firefox. What seems to be the problem with Firefox?
Here's a snippet:
input::before {
content: '';
display: block;
width: 13px;
height: 13px;
border-radius: 50%;
box-shadow: 0px 0px 5px #9F0002 inset;
}
<input type="radio" name="gender" class="radio" value="male">male
<input type="radio" name="gender" class="radio" value="female">female
...and here's the outcome. Chrome works just fine:
but there are no changes in Firefox: