5 border:
10px solid black;
15 background-color: blue;
22 background-color: green;
29 background-color: blue;
36 background-color: green;
41 In all of the examples, you should be able to see blue and green rectangles that spill way out of their
42 containing blocks. They should be
100px tall and not overlap one another at all. They should be stacked
46 You should see blue and green rectangles below.
<br>
47 <div class=
"blue"></div>
48 <div class=
"green"></div>
52 You should see blue and
53 <div class=
"blue"></div>
54 <div class=
"green"></div>
55 green rectangles below.
59 <div class=
"blue"></div>
60 <div class=
"green"></div><br>
61 You should see blue and green rectangles above.
66 <div class=
"blue"></div>
67 <div class=
"green"></div>
68 You should see blue and green rectangles above.
72 <div class=
"blue"></div>
73 You should see blue above and green below.
74 <div class=
"green"></div>
78 <div class=
"blue"></div>
79 You should see blue above and green below.
<br>
80 <div class=
"green"></div>
83 The next examples should have blue and green rectangles that snugly fit without spilling out.
86 You should see blue and green rectangles below.
<br>
87 <div class=
"bluesnug"></div>
88 <div class=
"greensnug"></div>
92 You should see blue and green rectangles below.
93 <div class=
"bluesnug"></div>
94 <div class=
"greensnug"></div>
98 <div class=
"bluesnug"></div>
99 <div class=
"greensnug"></div><br>
100 You should see blue and green rectangles above.
104 <div class=
"bluesnug"></div>
105 <div class=
"greensnug"></div>
106 You should see blue and green rectangles above.
110 <div class=
"bluesnug"></div>
111 You should see blue above and green below.
112 <div class=
"greensnug"></div>
116 <div class=
"bluesnug"></div>
117 You should see blue above and green below.
<br>
118 <div class=
"greensnug"></div>