/* 块级元素 */ body, ul, dl, ol, p, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; list-style: none; font-weight: 400; font-family: Microsoft YaHei, Microsoft YaHei-Regular; } /* 行内元素 */ a { text-decoration: none; font-family: Microsoft YaHei, Microsoft YaHei-Regular; &:hover{ text-decoration: none; } } .main { background: url(../images/index-main-bg.png)no-repeat top center; background-size: cover; width: 100%; height: 100%; min-width: 1200px; position: absolute; // 头部 .header { width: 1200px; height: 60px; padding: 0; display: flex; align-items: center; justify-content: space-between; margin: auto; // logo h1 { a { background: url(../images/logo.png); width: 123px; height: 60px; display: block; } } // nav .nav{ height: 60px; ul{ display: flex; height: 100%; align-items: center; li{ height: 32px; width: 92px; border-radius: 16px; text-align: center; line-height: 30px; margin-left: 60px; border:1px solid transparent; a{ color: #37374C; font-size: 16px; } &:hover{ border: 1px solid #FF6320; a{ color: #FF6320; } } } } } } .content{ padding: 0; margin: auto; width: 1200px; .content-title{ color: #565C7C; font-size: 72px; font-weight: 700; margin-top: 353px; padding-left: 35px; } .comingsoon-text{ color: #565C7C; font-size: 30px; padding-left: 35px; } } .footer{ height: 99px; border-top: #c1c1c1 1px solid; position: absolute; bottom: 0; left: 0; width: 100%; padding-top: 30px; color: #565C7C; .companyName{ text-align: center; } .copy{ text-align: center; } } }