回答編集履歴

1

追記

2020/08/04 01:08

投稿

Jon_do
Jon_do

スコア1373

test CHANGED
@@ -1,4 +1,84 @@
1
+ 追記
2
+
3
+ ```HTML
4
+
5
+ <!DOCTYPE html>
6
+
7
+ <html lang="ja">
8
+
9
+
10
+
11
+ <head>
12
+
13
+ <meta charset="UTF-8">
14
+
15
+ <title>test</title>
16
+
17
+ <style>
18
+
19
+ body {
20
+
21
+ width: 100vw;
22
+
23
+ height: 100vh;
24
+
25
+ position: relative;
26
+
27
+ margin: 0;
28
+
29
+ }
30
+
31
+
32
+
33
+ .img {
34
+
35
+ width: 80%;
36
+
37
+ height: 500px;
38
+
39
+ position: absolute;
40
+
41
+ top: 0;
42
+
43
+ right: 0;
44
+
45
+ bottom: 0;
46
+
47
+ left: 0;
48
+
49
+ margin: auto;
50
+
51
+ background-image: url(https://f.easyuploader.app/eu-prd/upload/20200804022513_576a4a41565850654663.jpg);
52
+
53
+ background-repeat: no-repeat;
54
+
55
+ background-position: center;
56
+
57
+ }
58
+
59
+ </style>
60
+
61
+ </head>
62
+
63
+
64
+
65
+ <body>
66
+
67
+ <div class="img"></div>
68
+
69
+ </body>
70
+
71
+
72
+
73
+ </html>
74
+
75
+ ```
76
+
77
+
78
+
1
79
  こういうことでしょうか?
80
+
81
+
2
82
 
3
83
  ```HTML
4
84