I'm trying to position the two white buttons just slightly (~10px) from the bottom, while staying responsive (ie changing the height of the viewport retains button position relative to bottom of div). I've tried the flexbox answer, and absolute/relative positioning, but in vain. Here are the div
s in question:
.item2{
background-color:#EF5350;
width:50%;
padding-left:5%;
padding-right:5%;
padding-top:5%;
box-sizing: border-box;
position:relative;
transition: 0.3s ease all;
}
.slick-prev:before, .slick-next:before{
color: whitesmoke;
font-size: 60px;
margin-top: auto;
align-self: flex-end;
transition: 0.3s ease all;
}
Link to full code: https://codepen.io/Refath/pen/drMrYW?editors=0100