Hello, how can i raise z-index of a group when hovered?

It doesnt seem to be working for me.

<style>
#block:hover {
-ms-transform: scale(1.2); /* IE 9 */
   -webkit-transform: scale(1.2); /* Safari 3-8 */
   transform: scale(1.2);
position: absolute;
 z-index: 3;}

Hey there,

I’d use a slightly higher z-index and mark as important:

<style>
#block:hover {
-ms-transform: scale(1.2); /* IE 9 */
-webkit-transform: scale(1.2); /* Safari 3-8 */
transform: scale(1.2); 
position: absolute;
  z-index: 9 !important;
}
</style>

asasa

Thank you

Anytime :+1:

This topic was automatically closed after 70 days. New replies are no longer allowed.