D
D
Dmitry Kim2015-09-21 13:11:00
css
Dmitry Kim, 2015-09-21 13:11:00

Why doesn't styling radio and checkbox via :after and :before pseudo-elements work in Firefox?

There was stylization of checkboxes and radio through pseudo-elements. Here is an example checkbox: jsfiddle.net/rzqs55eb/1 . In chrome it works with a bang, and for some reason firefox does not show pseudo-elements for input elements at all.
CHADNT?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr Crabbz, 2015-09-21
@kimono

Well, in general, as far as I remember, input cannot contain :before and :after in principle, because it is not a "container" element.
Most likely, you have previously manipulated labels.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question