css overlap elements 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;
}