Hello,
Thank you for this code !
I think it would be good to include in the sample code this css to the case where the image has a border ( another display is not good )
.item img {
max-width: 100%;
max-height: 100%;
vertical-align: bottom;
}
=>
.item img {
max-width: 100%;
max-height: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box
}
I have not found any reason to:
.first-item {
clear: both;
}
Hello,
Thank you for this code !
I think it would be good to include in the sample code this css to the case where the image has a border ( another display is not good )
=>
I have not found any reason to: