Template:Team:HokkaidoU Japan/About Us/CSS

From 2014.igem.org

(Difference between revisions)
Line 46: Line 46:
-
#show{
+
.show{
     cursor: pointer;
     cursor: pointer;
     position: absolute;
     position: absolute;
}
}
   
   
-
#overlay{
+
.overlay{
     opacity:0.7;
     opacity:0.7;
     background: black;
     background: black;
Line 60: Line 60:
     display:none;
     display:none;
}
}
-
+
 
-
#overlay-content{
+
.overlay::before {
 +
content: "";
 +
display: inline-block;
 +
border: 8px solid transparent;
 +
border-bottom-color: #000;
 +
position: absolute;
 +
right: 50%;
 +
top: -10px;
 +
margin-top: -8px;
 +
}
 +
 
 +
.overlay-content{
     border: white solid 1px;
     border: white solid 1px;
     color: white;
     color: white;

Revision as of 08:07, 29 September 2014