I am using boostwatch: https://bootswatch.com/3/cyborg/bootstrap.min.css
I am also using fontawesome, jquery
#ser img {
width: 100%;
}
.centerFontAwesome {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
@media(min-width:960px) {
#ser .col-md-3 .well {
height: 330px;
}
#ser .col-md-3 img {
height: 240px;
}
}
.well {
background: pink;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
<div class="container">
<div id="ser" class="row">
<div class="col-md-3">
<div class="well text-center centerFontAwesome">
<a href="#">
<i class="fas fa-plus-circle fa-10x modalButton"></i>
</a>
</div>
</div>
<div class="col-md-3">
<div class="well text-center">
<a class="btn btn-primary" href="#"><img src="https://image.tmdb.org/t/p/w500/u3bZgnGQ9T01sWNhyveQz0wH0Hl.jpg"></a>
<h5>Game of thrones</h5>
</div>
</div>
</div>
</div>
I would like to set each well width and height to the same at all time.
With full screen each well have the same size, but below a certain size the well which is contain the fontawesome icon does not have the appropiate size.
How could I do that?
Bootstrap well same height is not working.
I have tried:
#series .col-md-3 .well {
width: 100%;
height: 100%;
}
but it is not working.