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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -