堆叠幻灯片效果
代码语言:html
所属分类:幻灯片
代码描述:堆叠幻灯片效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>BFW NEW PAGE</title> <script id="bfwone" data="dep=jquery.17&err=0" type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/bfwone.js"></script> <script type="text/javascript"> bready(function() { use(["jquery.flipping_gallery", "flipping_gallery"], function() { $(".gallery").flipping_gallery({ enableScroll: true, autoplay: 2000 }); $(".next").click(function() { $(".gallery").flipForward(); return false; }); $(".prev").click(function() { $(".gallery").flipBackward(); return false; }); }); }); </script> <style> html { height: 100%; } body { background: black; padding: 0; text-align: center; font-family: 'open sans'; position: relative; margin: 0; height: 100%; } .wrapper { height: auto !important; height: 100%; margin: 0 auto; overflow: hidden; } a { text-decoration: none; } h1, h2 { width: 100%; float: left; } h1 { margin-top: 100px; color: #00B0FF; margin-bottom: 5px; font-size: 70px; letter-spacing: -4px; } h2 { letter-spacing: 0px; color: rgba(255,255,255,0.65); font-weight: 100; margin-top: 10px; margin-bottom: 10px; } .pointer { color: #00B0FF; font-family: 'Pacifico'; font-size: 24px; margin-top: 15px; position: absolute; top: 130px; right: -40px; } .pointer2 { color: #00B0FF; font-family: 'Pacifico'; font-size: 24px; margin-top: 15px; position: absolute; top: 130px; left: -40px; } pre { margin: 80px auto; } pre code { padding: 35px; border-radius: 5px; font-size: 15px; background: rgba(0,0,0,0.1); border: rgba(0,0,0,0.05) 5px solid; max-width: 500px; } .main { float: left; width: 100%; margin: 0 auto; } .main h1 { padding: 20px 50px 10px; float: left; width: 100%; font-size: 60px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-weight: 100; margin: 0; padding-top: 25px; font-family: 'Noto Serif'; font-style: italic; letter-spacing: 2px; text-transform: capitalize; } .main h1.demo1 { background: #1ABC9C; } .reload.bell { font-size: 12px; padding: 20px; width: 45px; text-align: center; height: 47px; border-radius: 50px; -webkit-border-radius: 50px; -moz-border-radius: 50px; } .reload.bell #notification { font-size: 25px; line-height: 140%; } .reload, .btn { display: inline-block; border: 4px solid #A2261E; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #CC3126; display: inline-block; line-height: 100%; padding: 0.7em; text-decoration: none; color: #0D2633; width: 100px; line-height: 140%; font-size: 17px; font-family: open sans; font-weight: bold; } .reload:hover { .........完整代码请登录后点击上方下载按钮下载查看
网友评论0