I am working on an interesting task.
<div class="slider">
<div class="1s">1st slide</div>
<div class="2s">2nd slide</div>
<div class="3s">3d slide</div>
</div>
Here is the CSS code:
.slider div {
width: 200px;
}
.1s {
float:left;
}
.2s {
margin: 0 auto;
}
.3s {
float: right;
}
The goal is to create a 3-column slider that spans 100% of the width. How can I align the central slide in the center? The minimum distance between the central left and central right slides should be 150px.
Currently, I have the issue where the 3rd slide is positioned under the second slide. How can I make it display inline?