css实现简约自适应卡片布局效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现简约自适应卡片布局效果代码

代码标签: css 自适应 卡片

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">



    <style>
        @import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&display=swap");
        *,
        *:after,
        *:before {
          box-sizing: border-box;
        }
        
        :root {
          --c-white: #fff;
          --c-black: #000;
          --c-ash: #eaeef6;
          --c-charcoal: #a0a0a0;
          --c-void: #141b22;
          --c-fair-pink: #FFEDEC;
          --c-apricot: #FBC8BE;
          --c-coffee: #754D42;
          --c-del-rio: #917072;
          --c-java: #1FCAC5;
          --c-titan-white: #f1eeff;
          --c-cold-purple: #a69fd6;
          --c-indigo: #6558d3;
          --c-governor: #4133B7;
        }
        
        body {
          font-family: "Spline Sans", sans-serif;
          line-height: 1.5;
          min-height: 100vh;
          background-colo.........完整代码请登录后点击上方下载按钮下载查看

网友评论0