stack divs without absolute positioning 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;
}