A
A
Alexander Timofeev2015-10-10 12:42:03
css
Alexander Timofeev, 2015-10-10 12:42:03

How to make the :before pseudo-element work on input in firefox? Are there any crutches?

Everything works in Chrome! No, Firefox needs everything to be by fucking standards!
UPD: In principle, there is no problem with the wrapper, I have all the inputs in the label, but I used :before for the image replacing the default circle for input[type='radio'], and if I had previously written for the corresponding input state: checked:before, then now this, apparently, cannot be configured without jquery ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kim, 2015-10-10
@kimono

I asked this question once on a toaster, it turned out that ::after and ::before pseudo-elements are available for container elements according to the standard.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question