2.5D 视觉差异滚动特效

代码语言:html

所属分类:视觉差异

代码描述:2.5D 视觉差异滚动特效

代码标签: 滚动 特效

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: sans-serif;
        }
        body {
            min-height: 100vh;
            background: #000;
            overflow-x: hidden;
        }
        .thumb {
            width: 100%;
            height: 100vh;
            position: relative;
        }
        .thumb .bg {
            width: 100%;
            height: 100vh;
            position: absolute;
            bottom: 0;
            left: 0;
        }
        .thumb .bg1 {
            background: url(http://repo.bfw.wiki/bfwrepo/image/5ea2303f38050.png) no-repeat center;
            background-size: cover;
        }
        .thumb .bg2 {
            background: url(http://repo.bfw.wiki/bfwrepo/image/5ea230590e22c.png) no-repeat center;
            background-size: cover;
        }
        .thumb .text h2 {
            color: whitesmoke;
            font-size: 10em;
            text-transform: uppercase;
            letter-spacing: 0.25em;
            font-weight: 900;
            margin-top: 200px;
            text-shadow: 0 0 5px #000;
            text-align: center;
        }
        .content {
            width: 100%;
            min-height: 100vh;
            position: absolute;
            col.........完整代码请登录后点击上方下载按钮下载查看

网友评论0