summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-dynamic-changes/horizontal/style.css
blob: 7486e56d4abc19b6487f9831ac6851d16777885b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#parent {
  position: relative;
  width: 400px;
  height: 400px;
  background: red;
  border: 0 solid black;
}
#child {
  position: absolute;
  height: 100px;
  top: 100px;
  background: blue;
  border: 0 solid black;
}
.floatLeft {
  width: 50px;
  height: 10px;
  background: green;
  float: left;
}