回答編集履歴
1
参考
answer
CHANGED
@@ -1,1 +1,28 @@
|
|
1
|
-
.cのposition: absoluteがいらないのでは?
|
1
|
+
.cのposition: absoluteがいらないのでは?
|
2
|
+
参考までに
|
3
|
+
```CSS
|
4
|
+
<style>
|
5
|
+
.A {
|
6
|
+
float: left;
|
7
|
+
background-Color:yellow;
|
8
|
+
}
|
9
|
+
|
10
|
+
.B {
|
11
|
+
width: 900px;
|
12
|
+
height: 700px;
|
13
|
+
float: right;
|
14
|
+
background-Color:lime;
|
15
|
+
}
|
16
|
+
|
17
|
+
.C {
|
18
|
+
width: 900px;
|
19
|
+
height: 700px;
|
20
|
+
float: right;
|
21
|
+
margin-top: 300px;
|
22
|
+
background-Color:aqua;
|
23
|
+
}
|
24
|
+
</style>
|
25
|
+
<div class="A">A</div>
|
26
|
+
<div class="B">B</div>
|
27
|
+
<div class="C">C</div>
|
28
|
+
```
|