0
I’m having a problem with a checkbox
in firefox.
I rode him like this:
.checkbox {
display:none;
}
.checkbox + label:before {
font-family: 'Material Icons';
display: inline-block;
color: #0091FF;
transform: scale(2.1);
margin: 10px;
}
.checkbox + label:before {
content: "check_box_outline_blank";
}
.checkbox + label:before {
letter-spacing: 8px;
}
.checkbox:checked + label:before {
content: "check_box";
}
<!-- Material Icons (Google) -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<input type='checkbox' id='checkbox1' class='checkbox' name='checkbox1'><label for='checkbox1'></label>
It’s working on Chrome, Safari. But not Firefox. Does anyone know why?
Take that out of the CSS
letter-spacing: 8px;
– Douglas Garrido
worked out, put the answer to me score.
– Hugo Borges