css布局科技背景卡片悬浮效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局科技背景卡片悬浮效果代码

代码标签: 背景 卡片 悬浮 效果

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

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        * {
            margin: 0;
            padding: 0;
            border: 0;
            list-style: none;
            text-decoration: none;
            color: inherit;
            font-weight: 400;
            font-family: "微软雅黑";
            box-sizing: border-box;
            font-style: normal;
            outline: 0;
            -webkit-tap-highlight-color: transparent
        }
        body {
            width: 100%;
            overflow-x: hidden
        }
        img {
            vertical-align: middle;
            max-width: 100%
        }
        .clearfix:after,.clearfix:before {
            display: table;
            line-height: 0;
            content: ""
        }
        .w1200 {
            margin: 0 auto;
            width: 1200px;
        }
        /* 背景标题 */
        .line-introduce {
            position: relative;
            height: 476px;
            background: url(//repo.bfw.wiki/bfwrepo/image/60dd03cbb89a4.png) no-repeat center
        }
        .line-introduce .title {
            color: #ddd;
            position: relative;
            text-align: center;
            height: 172px;
            line-height: 182.........完整代码请登录后点击上方下载按钮下载查看

网友评论0