这是一个愚蠢的问题,但很好。CSS中的“>”是什么版本?我在谷歌上找不到它,因为我不知道它的名字。
例子。
CSS
.test {
    width:200px;
    height:200px;}
.test .color {
    width:50px;
    height:50px;
    float:left;
    background:red;}
.test:hover > .color {
    background:blue;}
HTML
<div class="test">
    <div class="color"></div>
</div>
它是什么版本的 CSS?2个还是3个?谢谢