OSDN Git Service

[fix] : 別の方法で中央配置
authorhayao <hayao@fascode.net>
Mon, 12 Jul 2021 14:28:36 +0000 (23:28 +0900)
committerhayao <hayao@fascode.net>
Mon, 12 Jul 2021 14:28:36 +0000 (23:28 +0900)
index.html

index 41cb898..86052d8 100644 (file)
             height: 100%;
         }
 
+        /*
         header,main{
             max-width: 1100px;
             margin: 0 auto;
-        }
+        }*/
 
         header h1, .header-description{
             display: inline-block;
@@ -34,7 +35,8 @@
             cursor: pointer;
             display: flex;
             /* margin-top: 5vh; */
-            padding: 3%;
+            padding: 3vh;
+            justify-content: center;
         }
 
         main, header{