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