iv.gallery {
    margin: 5px;
    float: left;
    width: 100%;
    }
    div.gallery img{
    float:left;
    width:150px;
    height:150px;
    overflow:hidden;
    padding:20px;
    border:solid #ccc thin;
    border-radius:8px;
    margin: 10px;
    transition: 0.2s ease-in-out;
    }
    div.gallery img:hover{
    transform: scale(1.2);
    }