Untitled
code for adding hover effect: #blockid { img { -webkit-transition: all .8s ease; -moz-transition: all .8s ease; -o-transition: all .8s ease; transition: all .8s ease; } } #blockid:hover{ img { transform: scale(1.1); cursor:pointer; opacity:1; } } THIS PART IS FOR ADDING A COLOR TO THE HIGHLIGHT: #blockid { background-color:#ff0000; }
Leave a Comment