Powiel możliwe:
What does “>” mean in CSS rules?Co oznacza ">" w CSS?
Czego >
symbol oznacza w CSS? Zauważyłem to w moim blogu Wordpress i chcę wiedzieć, co robi.
#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;
}
Myślę, że twoja odpowiedź byłaby jeszcze bardziej pomocna, gdybyś dodał inny 'div' z' id = d' pod 'id = a'' div' na * wizualnie * pokaż wszystkie elementy 'child' zostaną wybrane. :) –