swiper实现产品服务列表拖动轮换轮播分页效果代码
代码语言:html
所属分类:幻灯片
代码描述:swiper实现产品服务列表拖动轮换轮播分页效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!--swiper框架样式-->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/swiper.min.css">
<!--主要样式-->
<style>
@charset "utf-8";
* {
padding: 0;
margin: 0;
font-family: "微软雅黑";
box-sizing: inherit;
outline: none;
}
:after, :before {
box-sizing: inherit;
}
a {
text-decoration: none;
color: inherit;
}
ul {
list-style: none;
}
body{
background-color: #313131
}
.pc-bg-container {
background-position: 50% 50%;
background-size: cover;
background-repeat: no-repeat;
}
.home-market-section {
text-align: center;
background-color: #0057b1;
}
/*标题*/
.home-market-section .section-title {
margin-bottom: 30px;
font-size: 30px;
min-width: 150px;
text-align: left;
color: #F8F8F8;
display: inline-block;
position: relative;
border: none;
height: 42px;
line-height: 42px;
padding-left: 10px;
margin-top: 60px;
}
.home-market-section .section-title a {
width: 100%;
display: block;
position: relative;
}
.home-market-section .section-title a:before {
position: absolute;
content: '';
right: -12px;
width: 15px;
height: 15px;
background-repeat: no-repeat;
top: 50%;
transform: translate(0, -50%);
transition: .2s;
}
.home-market-section .section-title a:hover:before {
right: -16px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0