Home › Forums › CSS › Hover Effect not working › Reply To: Hover Effect not working
November 19, 2016 at 1:09 pm
#248033
Member
That’s non-conforming behaviour against the spec.
When their computed content value is not none, these pseudo-elements generate boxes as if they were immediate children of their originating element, and can be styled exactly like any normal document-sourced element in the document tree.
https://www.w3.org/TR/css-pseudo-4/#generated-content
Since input
elements don’t have children they should not receive pseudo-elements.
It certainly doesn’t work in FF and probably not IE..