Browse Source

修改样式

wukunlin 5 years ago
parent
commit
470c7b771e

+ 2 - 1
2019专题/特炫宣传页/src/index-pc.html

@@ -16,8 +16,9 @@
 </head>
 
 <body>
+    <div class="mod-hd"></div>
     <div class="page-index">
-        <div class="mod-hd"></div>
+        
         <div class="mod-primary">
             <div class="cont-box">
                 <h3 class="title"></h3>

+ 11 - 9
2019专题/特炫宣传页/src/sass/index-pc.scss

@@ -21,6 +21,7 @@ body {
 }
 
 body {
+    position: relative;
     font-size: $baseFontSize;
     font-family: $pingfan, $yahei, Helvetica, Arial, sans-serif;
     color: #333333;
@@ -44,20 +45,21 @@ a {
 }
 
 
-   
+
+.mod-hd {
+    width: 160px;
+    height: 65px;
+    background: url(../img/pc/logo.png?__sprite) no-repeat;
+    position: absolute;
+    top: 80px;
+    left: 70px;
+}
 .page-index {
     width: 1200px;
     margin: 0 auto;
     position: relative;
     padding-top: 187px;
-    .mod-hd {
-        width: 160px;
-        height: 65px;
-        background: url(../img/pc/logo.png?__sprite) no-repeat;
-        position: absolute;
-        top: 80px;
-        left: -280px;
-    }
+    
     .mod-primary {
         height: 780px;
         position: relative;