가능한 중복 :
What does “>” mean in CSS rules?CSS에서 ">"의 의미는 무엇입니까?
가 >
기호는 CSS에서 무엇을 의미합니까? 나는 Wordpress 블로그 주제에서 그것을 알아 차리고 그것이 무엇을하는지 알고 싶다.
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
background: #efefef;
}
#access li:hover > a,
#access a:focus {
background: #f9f9f9; /* Show a solid color for older browsers */
background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
background: -o-linear-gradient(#f9f9f9, #e5e5e5);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
color: #373737;
}
#access ul li:hover > ul {
display: block;
}
당신의 대답은'id = d'가'div = '에'div ='를 추가하여 모든 시각적으로 * 모든'child' 엘리먼트가 선택된다는 것을 보여 주면 더욱 도움이 될 것이라고 생각합니다. :) –