jquery全屏文字个人介绍幻灯片效果代码
代码语言:html
所属分类:幻灯片
代码描述:jquery全屏文字个人介绍幻灯片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,100,300,200,500,600,700,800,900"> <style> *, *::before, *::after { box-sizing: border-box; outline: none; } h1, h2, h3, h4, h5, h6, p { margin: 5px 0; } body { margin: 0; padding: 0; } .intro { width: 100%; min-height: 100vh; position: relative; } .intro .animated-bar { width: 0; height: 3px; background: #fff; z-index: 9999; position: absolute; top: 0; left: 0; -webkit-animation: bar 5s 3 linear; animation: bar 5s 3 linear; } .intro .slide { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #ff0; position: absolute; top: 0; left: 0; padding: 20px; overflow: hidden; } .intro .slide.slide-a { background: #f26060; z-index: 400; } .intro .slide.slide-a .slide-a-child { transform: translateY(50px); opacity: 0; transition: all 1s; } .intro .slide.slide-a .slide-a-child.is-visible { transform: translateY(0); opacity: 1; } .intro .slide.slide-a p { font-size: 25px; } .intro .slide.slide-b { background: #0EB29A; z-index: 300; } .intro .slide.slide-b h2 { transform: translateX(50px); } .intro .slide.slide-b p:first-of-type { transform: translateX(-50px); ma.........完整代码请登录后点击上方下载按钮下载查看
网友评论0