[UPHPU] :hover syntax help

Wade Preston Shearer lists at wadeshearer.com
Wed Aug 15 15:22:18 MDT 2007


I have never seen the syntax…

#cssnav ul :hover ul


…before today (note the space between the "ul" and the ":hover"). I  
thought that ":hover" had to be applied directly to an element, like  
this…

"ul:hover"


So, what is the author of the above snippet doing? Is it saying  
"address all unordered lists that are children of any element  
currently being moused over that is a child of an unordered list that  
is a child of #cssnav?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070815/fbd9f924/smime.bin


More information about the UPHPU mailing list