Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Hover Effect not working Reply To: Hover Effect not working

#248033
Paulie_D
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..