layui布局实现一个养老科技公司官网首页效果代码

代码语言:html

所属分类:布局界面

代码描述:layui布局实现一个养老科技公司官网首页效果代码

代码标签: 一个 养老 科技 公司 官网 首页 效果

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

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/js/layui/css/layui.css">
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/layui/layui.all.js"></script>
    <style>

@charset "utf-8";

        /* CSS Document*/

        blockquote,
        body,
        button,
        dd,
        dl,
        dt,
        fieldset,
        form,
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        hr,
        iframe,
        input,
        legend,
        li,
        ol,
        p,
        pre,
        td,
        textarea,
        th,
        ul {
            margin: 0;
            padding: 0;
            vertical-align: baseline
        }

        .clearfix:after,
        .clearfix:before {
            display: table;
            content: ''
        }

        .clearfix:after {
            clear: both;
            overflow: hidden
        }

        .clearfix {
            zoom: 1
        }

        .hidden {
            display: none;
        }

        img {
            max-width: 100%;
        }

        select {
            border: none;
            -webkit-appearance: none;
            -moz-appearance: none
        }

        iframe {
            border: 0
        }

        input {
            box-shadow: none;
        }

        a,
        button,
        img,
        input,
        select {
            outline: 0 none
        }

        input:focus,
        textarea:focus,
        .layui-input:focus,
        .layui-select:focus,
        .layui-textarea:focus {
            outline: 0;
            border: 1px solid #16C09C!important;
            box-shadow: 0 0 0 2px rgba(22, 192, 156, 0.2);
        }

        img {
            border: 0 none;
            vertical-align: top;
            max-width: 100%;
        }

        em,
        i {
            font-style: normal
        }

        ol,
        ul {
            list-style: none
        }

        button,
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        input,
        select {
            font-size: 100%;
            font-family: inherit
        }

        table {
            border-collapse: collapse;
            border-spacing: 0
        }

        input[type='text'] {
            -webkit-appearance: none;
        }

        a {
            text-decoration: none;
            color: #000;
        }

        a:hover {
            cursor: pointer
        }

        .fl {
            float: left;
        }

        .fr {
            float: right;
        }

        .padding10 {
            padding: 10px;
        }

        .padding15 {
            padding: 15px;
        }

        .padding20 {
            padding: 20px;
        }

        .padding30 {
            padding: 30px;
        }

        .margin10 {
            margin: 10px;
        }

        .margin15 {
            margin: 15px;
        }

        .margin20 {
            margin: 20px;
        }

        .margin30 {
            margin: 30px;
        }

        .margin40 {
            margin: 40px;
        }

        .margin60 {
            margin: 60px;
        }

        .mtop20 {
            margin-top: 20px;
        }

        .mtop30 {
            margin-top: 30px;
        }

        .paddingTB40 {
            padding: 40px 0;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px
        }

        ::-webkit-scrollbar-button {
            height: 0;
            width: 0
        }

        ::-webkit-scrollbar-track {
            background-color: #f1f1f1;
            -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, .1);
            box-shadow: inset 0 0 1px rgba(0, 0, 0, .1);
        }

        ::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 8px;
        }

        .wzb_flex {
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
        }

        .wzb_flex_item {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
        }

        body {
            overflow-x: hidden;
            color: #000;
            /*font-size: 14px;*/
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-style: normal;
            font-variant-ligatures: normal;
            font-variant-caps: normal;
            font-variant-numeric: normal;
            font-variant-east-asian: normal;
            font-weight: normal;
            font-stretch: normal;
            font: 14px/1.5 "PingFang SC", "Lantinghei SC", "Microsoft YaHei", "HanHei SC", "Helvetica Neue", "Open Sans", Arial, "Hiragino Sans GB", "微软雅黑", STHeiti, "WenQuanYi Micro Hei", SimSun, sans-serif;
            /*font-family: Helvetica Neue, Helvetica, "PingFang SC", "Microsoft YaHei", "Lantinghei SC", "HanHei SC", "Helvetica Neue", "Open Sans", Arial, SimSun, sans-serif;*/
        }

        #header {
            height: 70px;
            background: #fff;
        }

        #header .logo {
            position: absolute;
            top: 10px;
            left: 20px;
        }

        #header .layui-nav {
            position: absolute;
            top: 0;
            right: 200px;
        }

        #header .side-nav {
            position: absolute;
            top: 18px;
            right: 20px;
        }

        #header .side-nav span {
            margin: 0 10px;
            color: #ccc;
        }

        #header .layui-nav .layui-nav-item {
            line-height: 70px;
            height: 70px;
        }

        #header .logo img {
            height: 50px;
        }

        .layui-nav .layui-this:after,
        .layui-nav-bar,
        .layui-nav-tree .layui-nav-itemed:after {
            height: 0px;
        }

        #header .layui-nav * {
            font-size: 16px;
            color: #333
        }

        #header .layui-nav .layui-this a {
            color: #333;
        }

        #header .layui-nav-child {
            background: #fff;
            border: 0;
            box-shadow: none;
            padding: 20px;
        }
        #header .layui-nav .layui-nav-item .layui-nav-child a {
            height: 50px;
            line-height: 50px;
        }
        #header .layui-nav-child a:link,
        #header .layui-nav-child a:visited {
            background: none;
            color: #333;
        }

        #header .layui-nav-child a:hover,
        #header .layui-nav-child a:active {
            background: none;
            color: #16C09C;
        }

        #header .layui-nav .layui-nav-item a {
            padding: 0 30px;
            display: block;
            height: 70px;
        }
        #header .layui-nav .layui-nav-item a:hover {
            color: #16C09C;
            background: #fff;
        }
        .banner {
            height: 500px;
            width: 100%;
            overflow: hidden;
        }

        .banner .layui-carousel {
            height: 100%;
        }

        .description h3 {
            font-size: 20px;
            color: #000;
        }

        .description p {
            margin-top: 10px;
            color: #999;
            font-size: 12px;
        }

        .title {
            text-align: center;
            font-size: 40px;
            padding: 60px 0;
        }

        .greyBg {
            background: rgb(251, 251, 251);
        }

        .des-info h3 {
            font-size: 42px;
            padding-top: 100px;
            font-weight: bold;
        }

        .des-info p {
            margin-top: 10px;
            font-size: 16px;
            color: #777;
            line-height: 30px;
        }

        .des-info a {
            display: inline-block;
            margin-top: 20px;
        }

        .cell {
            border: 1px solid #ebebeb;
            /*padding: 20px;*/
            position: relative;
            border-radius: 2px;
            transition: all .3s;
            /*text-align: center;*/
        }

        .cell-top {
            background: #fafafa;
            padding: 20px 15px;
            /*border-left: 2px solid #16C09C;*/
            position: relative;
        }

        .cell-top a {
            position: absolute;
            right: 10px;
            top: 20px;
            color: #16C09C;
        }

        .cell-content li {
            padding: 20px 10px;
            border-bottom: 1px solid #f9f9f9;
            margin: 0 10px;
        }

        .ico {
            margin-right: 10px;
        }

        .cell-content li:last-child {
            border-bottom: none;
        }

        .cell-content li h4 {
            font-size: 16px;
        }

        .descriptio.........完整代码请登录后点击上方下载按钮下载查看

网友评论0