how to overlay divs without absolute code example
Example: stack divs without absolute positioning
.child {
/* ... */
position: absolute;
top: 0;
left: 0;
}
.parent {
position: relative;
}
.child {
/* ... */
position: absolute;
top: 0;
left: 0;
}
.parent {
position: relative;
}