我有這個div與一類.win_box
:如何將鏈接限制爲只有div而不是Bootstrap列?
該div被引導列包圍。該鏈接允許用戶允許整個Bootstrap列自身的鏈接。我只希望用戶能夠訪問實際的div本身的鏈接。我該怎麼做呢?
.win_box {
position: relative;
left: -12px;
height: 110px;
width: 196px;
background: #353535;
}
<div class="col-xs-6 col-sm-6 col-md-2 col-lg-g" id='title'>
<a href='#'> <div class='win_box'> <i class="fa fa-play" aria-hidden="true" id='video'></i> </div> </a>
</div>
感謝,簡單的答案是最好的:) – user6902601