.flex-images{overflow:hidden}.flex-images .item{float:left;margin:4px;box-sizing:content-box;overflow:hidden;position:relative}.flex-images .item img{display:block;width:auto;height:100%}