标签:script data- img src cti 轮播 rap ogg str
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, user-scalable=no"> <title>图片轮播</title> <link rel="stylesheet" href="css/bootstrap.css"> <script src="js/jquery.js"></script> <script src="js/bootstrap.min.js"></script> </head> <body style="padding-left: 350px; padding-top: 150px"> <div class="carousel slide" data-toggle="carousel" id="page" style="width: 500px;" data-ride="carousel" data-interval="3000"> <div class="carousel-inner"> <div class="item active"><img src="https://i.loli.net/2018/09/13/5b99ce0aad0d5.jpg" style="width: 500px; height: 282px;"></div> <div class="item"><img src="https://i.loli.net/2018/09/13/5b99e2dbdcfee.jpg" style="width: 500px;height: 282px;"></div> <div class="item"><img src="https://i.loli.net/2018/09/13/5b99e30fc8278.jpg" style="width: 500px;height: 282px;"></div> <div class="item"><img src="https://i.loli.net/2018/09/13/5b99e32cc27e2.jpg" style="width: 500px;height: 282px;"></div> </div> <a href="#page" class="carousel-control left" data-slide="prev"></a> <a href="#page" class="carousel-control right" data-slide="next"></a> <ul class="carousel-indicators"> <li data-target="#page" data-slide-to="0" class="active"></li> <li data-target="#page" data-slide-to="1"></li> <li data-target="#page" data-slide-to="2"></li> <li data-target="#page" data-slide-to="3"></li> </ul> </div> </body> </html>
示例图:
标签:script data- img src cti 轮播 rap ogg str
原文地址:https://www.cnblogs.com/hacker-lsr/p/9639830.html