<div class="parent">
<div class="slider"></div>
<div class="content"></div>
</div>
.parent {
position: relative;
}
.slider {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.content {
position: relative;
z-index: 2;
}