回答編集履歴
2
修正
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
要素の大きさを画面サイズに合わせて変化させるためには通常、**数値を%で指定**するのではないかと思います。
|
1
|
+
要素の大きさを画面サイズに合わせて変化させるためには通常、**数値をpxではなくて%で指定**するのではないかと思います。
|
2
2
|
|
3
3
|
今回は
|
4
4
|
|
@@ -25,6 +25,16 @@
|
|
25
25
|
<title>タイトル</title>
|
26
26
|
|
27
27
|
<style type="text/css">
|
28
|
+
|
29
|
+
* {
|
30
|
+
|
31
|
+
margin: 0;
|
32
|
+
|
33
|
+
padding: 0;
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
|
28
38
|
|
29
39
|
img {
|
30
40
|
|
@@ -54,6 +64,8 @@
|
|
54
64
|
|
55
65
|
width: 50%;
|
56
66
|
|
67
|
+
background-color: aqua;
|
68
|
+
|
57
69
|
}
|
58
70
|
|
59
71
|
|
@@ -63,6 +75,18 @@
|
|
63
75
|
float: right;
|
64
76
|
|
65
77
|
width: 50%;
|
78
|
+
|
79
|
+
background-color: firebrick;
|
80
|
+
|
81
|
+
height: 550px;
|
82
|
+
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
.new {
|
88
|
+
|
89
|
+
background-color: gold;
|
66
90
|
|
67
91
|
}
|
68
92
|
|
@@ -82,6 +106,14 @@
|
|
82
106
|
|
83
107
|
<img src="img/CxGC4ZnVIAAM3p2.jpg" alt="画像1">
|
84
108
|
|
109
|
+
<div class="new">
|
110
|
+
|
111
|
+
<p>あかさたな</p>
|
112
|
+
|
113
|
+
<img src="img/CxGC1pzUkAAMSld.jpg" alt="画像2">
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
85
117
|
</div>
|
86
118
|
|
87
119
|
<div class="side">
|
@@ -90,11 +122,7 @@
|
|
90
122
|
|
91
123
|
</div>
|
92
124
|
|
93
|
-
<div class="new">
|
94
125
|
|
95
|
-
<img src="img/CxGC1pzUkAAMSld.jpg" alt="画像2">
|
96
|
-
|
97
|
-
</div>
|
98
126
|
|
99
127
|
</div>
|
100
128
|
|
1
修正
test
CHANGED
File without changes
|