花样轮播,给人一种眼前一亮的感觉,轮播图有很多种,这种也不是很常见的一种。看下我的代码吧。
一.html结构代码
<div class="wrap">
<input type="radio" name="beauty" id="x_1" class="select_1" checked="checked"/>
<input type="radio" name="beauty" id="x_2" class="select_2"/>
<input type="radio" name="beauty" id="x_3" class="select_3"/>
<input type="radio" name="beauty" id="x_4" class="select_4"/>
<label for="x_1"></label>
<label for="x_2"></label>
<label for="x_3"></label>
<label for="x_4"></label>
<div class="imgs">
<!--图的第一部分-->
<div>
<span