Class selector | Sololearn: Learn to code for FREE!
- 1

Class selector

Can this pausudo classes work with class selector?

17th Jan 2017, 8:11 PM
Muhammad Rabi
Muhammad Rabi - avatar
1 Answer
+ 1
Yes. If you mean like this: .classname:hover {...} but there is still limitations on which html element they work even if you usu class selector eg. :visited works only with links as far as I know.
18th Jan 2017, 7:16 AM
Jani Sinkkonen
Jani Sinkkonen - avatar