Difference between revisions of "Template:JiangnanU China/CSS"

Line 29: Line 29:
 
   position: relative;
 
   position: relative;
 
   cursor: pointer;
 
   cursor: pointer;
 +
  z-index: 110;
 
}
 
}
 
.menu:hover .menu-dropdown{
 
.menu:hover .menu-dropdown{
Line 58: Line 59:
 
   top: 100%;
 
   top: 100%;
 
   left: 0;
 
   left: 0;
  z-index: 101;
 
 
   transition: 0.2s 0.2s border-top ease-out, 0.3s border-top-color;
 
   transition: 0.2s 0.2s border-top ease-out, 0.3s border-top-color;
 
}
 
}
Line 85: Line 85:
 
   bottom: 0;
 
   bottom: 0;
 
   left: 0;
 
   left: 0;
  z-index: 101;
 
 
   transition: 0.2s border-bottom ease-in;
 
   transition: 0.2s border-bottom ease-in;
 
}
 
}
Line 151: Line 150:
 
   position: absolute;
 
   position: absolute;
 
   background: #ebebeb;
 
   background: #ebebeb;
   z-index: 100;
+
   z-index: 110;
 
   transition: 0.5s padding, 0.5s background;
 
   transition: 0.5s padding, 0.5s background;
 
}
 
}
Line 168: Line 167:
 
   top: 100%;
 
   top: 100%;
 
   left: 0;
 
   left: 0;
   z-index: 101;
+
   z-index: 110;
 
   transition: 0.5s border-top;
 
   transition: 0.5s border-top;
 
}
 
}

Revision as of 12:12, 1 June 2019