0

I am just newbie to the wordpress. I was going through wordpress custom theme designing. In css when I was changing the menu css I came through this css for hover style. #access li:hover > a,#access a:focus{ } Here can someone tell me what is the meaning of this #access li:hover > a,#access a:focus.How it controls the attributes for hover?. I am just newbie so before down voting my question any help and suggestions will be more helpful for me.

4

1 回答 1

0

#access li:hover>a, #access a:focus是将规则应用于两组元素的选择器:

  1. a被悬停的元素的直接子元素 ( >)并且是具有属性的元素的后代liidaccess
  2. a具有焦点的元素(即,用键盘选择标签,用鼠标单击)并且是具有id属性的元素的后代access
于 2012-11-29T11:24:53.253 回答