Shomy032• 270
@Shomy032
Posted
I think this should work
.container{
position : relative;
width : 500px ; // for example
height : 500px ; // for example
}
.container img{
width : 100% ;
object-fit : cover ;
}
.container button{
position : absolute ; // relative to container , this will remove it from flow
bottom : 0 ;
left 100px ;
transform: translateY(-50%); // this will push it down for half of their height
}
Anyway great work , and keep up coding :)
0