<div class="h1">sadf</div>
<div class="h3">hello world</div>
<style type="text/css">
.h1:hover + .h3{
color: red;
}
</style>
<!-- css3 字内容变色 -->
<style>
.div1:hover .div2{
background:#444;
}
</style>
<div class="div1" style="width:100px;height:500px;border:1px solid #999">
asdsad
<div class="div2" style="width:100px;height:100px;border:1px solid #999">
#######
</div>
</div>