teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

コード編集

2020/11/02 02:01

投稿

shirout
shirout

スコア36

title CHANGED
File without changes
body CHANGED
@@ -10,20 +10,28 @@
10
10
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
11
11
  <link rel="stylesheet" href="main.css">
12
12
  </head>
13
- <body>
13
+ <body class = "body-tag">
14
- <script src="https:/vue.js">
14
+ <script src="https://vue.js"></script>
15
- </script>
16
15
  <div id = "app">
17
- <div class = "all"></div>
16
+ <div class = "all">
17
+ <div class = "head">
18
18
  </div>
19
19
  </body>
20
20
  </html>
21
21
  ```
22
22
 
23
23
  ```css
24
- html,
24
+ ,html
25
- .all {
25
+ .body-tag {
26
26
  height: 100%;
27
27
  width: 100%;
28
28
  }
29
+ .app {
30
+ height: 100%;
31
+ width: 100%;
32
+ }
33
+ .head {
34
+ height: 20%;
35
+ width: 100%;
36
+ }
29
37
  ```