jquery步骤卡片堆叠进入下一步效果代码

代码语言:html

所属分类:菜单导航

代码描述:jquery步骤卡片堆叠进入下一步效果代码

代码标签: 堆叠 进入 下一步 效果

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

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>BFW NEW PAGE</title>
    <style>
@import url("https://fonts.googleapis.com/css?family=Titillium+Web:300,700,900");
@import url("https://fonts.googleapis.com/css?family=Palanquin:300");
        body {
            height: 100vh;
            width: 100%;
            margin: 0;
            font-family: "Palanquin", sans-serif;
            font-size: 21px;
            color: #8f959a;
            line-height: 1.5;
            background: linear-gradient(0deg, #6a11cb 0%, #2575fc 100%);
        }

        .container {
            margin: 4em auto;
        }

        .inner-container {
            position: relative;
            max-width: 20%;
            min-width: 360px;
            height: 300px;
            width: 100%;
            margin: 0 auto 100px;
        }

        .content {
            position: absolute;
            opacity: 0;
            top: 2em;
            left: 10%;
            width: 80%;
            margin: 0 auto;
        }

        .active {
            display: block !important;
            margin: 0 auto;
            opacity: 1;
            transition: ease-in-out 1s;
        }

        .card {
            position: relative;
            background: #fff;
            border-radius: 5px;
            padding: 2em 0;
            height: 300px;
            box-sizing: border-box;
            transition: 0.3s ease;
            box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.35);
        }
        .card:first-child, .card:nth-child(2) {
            background: #00c4c7;
            height: 8px;
            border-radius: 5px 5px 0 0;
            padding: 0;
            box-shadow: none;
        }
        .card:first-child {
            margin: 0 20px;
            background: #00b0b2;
        }
        .card:nth-child(2) {
            margin: 0 10px;
        }
        .card .progress-container {
            background: rgba(37, 117, 252, 0.2);
            height: 6px;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            border-radius: 0 0 5px 5px;
        }
        .card .progress-container .step {
            background-color: #2575fc;
            height: 6px;
            width: 33%;
            border-radius: 0 0 0 5px;
        }

        h1 {
            font-family: .........完整代码请登录后点击上方下载按钮下载查看

网友评论0