Closed rtate2 closed 4 years ago
for the dev images, put them inside a div:
<div class="devImage"> <img src="${dev.picture}" alt="${dev.name} headshot" /> </div>
then style that frame to a specific size and just set the image width to fill the frame in the scss
scss
.devImage { width:275px; height:275px; overflow: hidden; margin: 10px auto; border:1px solid #eee; img { text-align: center; vertical-align: middle; width:100%; } }
Then add a justify-content-between class to the outer most div with the d-flex and flex-wrap class
justify-content-between
d-flex
flex-wrap
👍
for the dev images, put them inside a div:
then style that frame to a specific size and just set the image width to fill the frame in the
scss
Then add a
justify-content-between
class to the outer most div with thed-flex
andflex-wrap
class