javascript - Complex CSS selector - how to require visible -
i'm writing css selector, have working far:
input[placeholder*='mail']
but i'd ensure it's not finding invisible (ie: not visible) elements.
i've been trying :visible
in various places in pattern (because couldn't find reference on css selector lexer, not luck these:
input[placeholder:visible*='mail'] input:visible[placeholder*='mail'] input[placeholder*='mail']:visible
how do this? , have reference on learning more complex selector formats?
there no css selector :visible
. sould work classes , target elements have class .visible
. (or not have class .visible
.
the :visible
selector available in jquery example, uses pseudo selector finding elements visible in current scroll view.
Comments
Post a Comment