.gallery-masonry-item img{filter:grayscale(0%); transition:.25s} img:hover{filter:sepia(60%)} img:hover{height:100%!important; width:100%!important; overflow:hidden!important; transition-duration:1s} Gallery-code-name{overflow:hidden!important}