Pārlūkot izejas kodu

样式初始化

wukunlin 5 gadi atpakaļ
vecāks
revīzija
fb5aa384e6

+ 1 - 1
2019专题/1906lol自走棋专题/src/_index.html

@@ -14,7 +14,7 @@
 <body>
     <div class="page-index">
         
-    
+        <link rel="import" href="./modules/hero/hero.html?__inline" />
     </div>
     <script src="lib/mod.js"></script>
     <script>

+ 0 - 0
2019专题/1906lol自走棋专题/src/modules/hero/hero.html


+ 4 - 1
2019专题/1906lol自走棋专题/src/sass/index.scss

@@ -6,6 +6,7 @@ $pingfan:PingFangSC-Regular;
 
 @import "base/base";
 @import "base/mixins";
+@import "module/\ hero";
 
 /*通用变量*/
 
@@ -28,6 +29,8 @@ body {
 }
 
 .page-index {
-    margin: 0 auto;
+    margin: 486px auto 0;
     width: 1000px;
+    background: #fff;
+    min-height: 500px;
 }

+ 0 - 0
2019专题/1906lol自走棋专题/src/sass/module/_ hero.scss