css实现自适应价格套餐卡片排列效果代码

代码语言:html

所属分类:响应式

代码描述:css实现自适应价格套餐卡片排列效果代码

代码标签: 适应 价格 套餐 卡片 排列 效果

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

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="UTF-8">


    <link rel="preconnect" href="https://fonts.gstatic.com" />
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap" rel="stylesheet" />


    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            font-size: 15px;
        }
        body {
            background: #f7f7ff;
            font-family: "Montserrat", sans-serif;
            width: 80%;
            max-width: 1440px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-x: hidden;
        }
        header {
            color: hsl(233, 13%, 49%);
            margin: 3.3rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .toggle {
            margin-top: 2rem;
            color: hsl(234, 14%, 74%);
            display: flex;
            align-items: center;
        }
        .toggle-btn {
            margin: 0 1rem;
        }
        .checkbox {
            display: none;
        }

        .sub {
            background: linear-gradient(
            135deg,
            rgba(163, 168, 240, 1) 0%,
            rgba(105, 111, 221, 1) 100%
            );
            display: flex;
            justify-content: flex-start;
            align-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0