我想激活arrowBox
懸停狀態,當我點擊的div antrenor
如何激活其他div內的div的懸停?
.arrowBox:after {
content: ' ';
width: 0px;
height: 0px;
border-top: 17px solid transparent;
border-left: 17px solid transparent;
border-bottom: 17px solid transparent;
border-right: 17px solid #2391af;
position: absolute;
right: 104px;
top: 50%;
margin-top: -17px;
opacity: 1;
transition: 0.5s;
}
.arrowBox:hover:after {
opacity: 1;
right: 100%;
top: 50%;
}
<div class="antrenor">
<div class="arrowBox" style="margin-right:110px">Antrenor</div>
</div>
的可能的複製[如何影響其他元素時一個div懸停](http://stackoverflow.com/questions/4502633/how-to-affect-other-elements-when-a-div-是-徘徊) –