Untitled
unknown
plain_text
10 months ago
339 B
100
Indexable
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;
}Editor is loading...
Leave a Comment