mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 02:25:05 +00:00
23 lines
331 B
CSS
23 lines
331 B
CSS
#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;
|
|
}
|