基于vue的图片轮换效果
代码语言:html
所属分类:幻灯片
代码描述:基于vue的图片轮换效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" /><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><title>slider</title><style>
body {
background: #565f77 none repeat scroll 0 0;
color: #000;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
margin: 0;
padding: 0;
/* position: absolute; top: 0; left: 0; right: 0; bottom: 0;*/ /*bug:当内容超过一屏时,滚动条需要默认显示*/ overflow-y: scroll;
width: 100%;
height: 100%;
position: absolute;
}
h3 {
font-size: 20px;
margin: 0;
margin-top: 25px;
}
@-webkit-keyframes loading-7 {
0% {
margin-bottom: 0
}
50% {
margin-bottom: 20px;
}
100% {
margin-bottom: 0px;
}
}
.loadingDot i {
display: inline-block;
margin-left: 5px;
background: rgb(27, 188, 155);
width: 12px;
height: 12px;
border-radius: 50%;
}
.loadingDot i:nth-child(1) {
-webkit-animation: loading-7 .7s ease-in 0s infinite;
}
.loadingDot i:nth-child(2) {
-webkit-animation: loading-7 .7s ease-in 0.15s infinite;
}
.loadingDot i:nth-child(3) {
-webkit-animation: loading-7 .7s ease-in 0.3s infinite;
}
.loadingDot i:nth-child(4) {
-webkit-animation: loading-7 .7s ease-in 0.45s infinite;
}
*, *:after, *::before {
-we.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0