CSS3点击图片切换到下一张代码

特效描述:利用CSS3实现 点击图片 换到下一张 代码,利用CSS3实现点击图片切换到下一张代码

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css">

2. HTML代码

<div class="intro">
<h1 class="intro__title">单击图片切换</h1>
<p class="intro__body">纯CSS样式,单机第一张图片切换下一张,实现图片轮播效果.</p>
</div>
<div class="carousel">
<input type="checkbox" class="faux-ui-facia">
<div class="slide" slide="5" annot="This is the fifth slide title.">
<img src="img/3361b5e1.jpg" alt="Slide 5">
</div>
<input type="checkbox" class="faux-ui-facia">
<div class="slide" slide="4" annot="This is the fourth slide title.">
<img src="img/photo-1415356838286-df6fd593e8b3.jpg" alt="Slide 4">
</div>
<input type="checkbox" class="faux-ui-facia">
<div class="slide" slide="3" annot="This is the third slide title.">
<img src="img/JaI1BywIT5Or8Jfmci1E_zakopane.jpg" alt="Slide 3">
</div>
<input type="checkbox" class="faux-ui-facia">
<div class="slide" slide="2" annot="This is the second slide title.">
<img src="img/6108b580.jpg" alt="Slide 2">
</div>
<input type="checkbox" class="faux-ui-facia">
<div class="slide" slide="1" annot="First slide title.">
<img src="img/2c0343f7.jpg" alt="Slide 1">
</div>
<div class="counter" count="5"> / 5</div>
</div>

网页特效

h5烟雾消散图片切换Canvas特效

2019-11-19 23:18:51

网页特效

jQuery导航图片全屏滚动代码

2019-11-19 23:18:56

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索