Line 25: | Line 25: | ||
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ | z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ | ||
cursor: pointer; /* Add a pointer on hover */ | cursor: pointer; /* Add a pointer on hover */ | ||
+ | } | ||
+ | |||
+ | #text{ | ||
+ | position: absolute; | ||
+ | top: 50%; | ||
+ | left: 50%; | ||
+ | font-size: 50px; | ||
+ | color: white; | ||
+ | transform: translate(-50%,-50%); | ||
+ | -ms-transform: translate(-50%,-50%); | ||
} | } | ||
Line 617: | Line 627: | ||
<body> | <body> | ||
− | <div id="overlay"></div> | + | <div id="overlay"> |
− | + | <div id="text">Overlay Text</div> | |
− | + | </div> | |
<div class="igem_2018_team_content"> | <div class="igem_2018_team_content"> |
Revision as of 13:08, 6 October 2018
Overlay Text