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