js实现向左轮换答题效果代码
代码语言:html
所属分类:其他
代码描述:js实现向左轮换答题效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.entrance-bottom {
width: 100%;
margin-top: 40px;
overflow: hidden;
margin-bottom: 50px;
position: relative;
height: 700px;
}
.entrance-bottom-frame {
transition: all 0.8s;
width: 10000%;
margin: 0 auto;
height: 630px;
margin-top: 40px;
position: absolute;
left: 50%;
margin-left: -550px;
}
.entrance-bottom-frame-beijing {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: url(//repo.bfw.wiki/bfwrepo/image/60fe3c9d05beb.png);
background-size: cover;
}
.entrance-bottom-frame-line {
-webkit-filter: grayscale(100%);
/* CSS3 filter方式,webkit内核方式,firefox外的绝大部分的现代浏览器*/
-moz-filter: grayscale(100%);
/* 目前没有实现 */
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
/* CSS3 filter方式,标准写法*/
filter: gray;
/* IE 6-9 */
transition: all 0.8s;
pointer-events: none;
cursor: default;
margin-top: 35px;
box-shadow: 0 0 15px #c5e2ff;
width: 1000px;
height: 570px;
float: left;
margin-left: 50px;
position: relative;
}
.entrance-bottom-frame-line-id {
font-size: 30px;
color: white;
text-align: center;
line-height: 60px;
position: absolute;
left: 50%;
margin-left: -30px;
height: 60px;
width: 60px;
background: url(//repo.bfw.wiki/bfwrepo/image/60fe3c66e9401..........完整代码请登录后点击上方下载按钮下载查看
















网友评论0