css - What does (.browser-default).valid mean? -


currently going through code on internet , found part of code input[type=text]:not(.browser-default).valid. in following code know :not used for. have following question:

  1. what (.browser-default) part of code , can find more information it?

  2. i know :valid not .valid? , can read exact functionality?

both .browser-default , .valid user-defined class names. not part of css selectors module - won't find more information them!

in contrast, :not , :valid css pseudo classes , are defined within css selectors module.

so basically, selector

input[type=text]:not(.browser-default).valid 

matches text input class valid , without class browser-default


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -