<div class="carousel-inner product-slider-inner">
<?php while($featurepro = mysqli_fetch_assoc($featurequery)): ?>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 text-center">
<a href="#"><img src="<?=$featurepro['image'];?>" class="img-responsive"></a>
<h5 class="text-center"><?=$featurepro['title'];?></h5>
<h6 class="text-center"><?=money($featurepro['price']);?></h6>
<div class="btn btn--border btn--primary btn--animated"><a href="" class="anchor"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span></a></div>
</div>
</div>
</div>
我想用jQuery來添加在第一項活動類,但我不,我如何選擇它在滑蓋更多項特定項目,但只有第一個項目的一類活性HTML CSS的jQuery
加入jQuery代碼 –
我用2個或多個滑塊,它也有項目類,所以我想通過特定的類,例如,可以添加...在CSS中,我們可以聲明類由特定的元素沒有給他的類 –