JSFiddle - React, Tailwind, and code Playground

by Olga Zhizhka

HTML

<div class="thumbnail box-radius">		
        <div class="image box-radius">
            <a class="image-link box-radius" href="#"><img class="box-radius"src="http://uploadme.ru/images/2015/04/19/img1.jpg" alt="image-1" /></a>															
         </div>	
</div>

CSS

.box-radius {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.thumbnail {
	padding: 0;
    width: 100px;
	height: 100px;    
	background-color: #777;
	border: 2px solid #e6d3a0;
}
.thumbnail .image {	
    overflow:hidden;
}
a.image-link { 
	display: block; 
	margin: 0;
	padding: 0;
	border: none;
	line-height: 0;
	text-decoration: none;
}
.image img  { 
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: none;
	-moz-transition: all 1s ease-out;
	-o-transition: all 1s ease-out;
	-ms-transition: all 1s ease-out;
	-webkit-transition: all 1s ease-out;
	transition: all 1s ease-out;
}
.image img:hover{
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}