Files
emupedia.github.io/beta/emuos/css/label.css
2019-12-07 06:05:39 +02:00

36 lines
710 B
CSS

[data-title] {
position: relative;
text-decoration: none;
}
/*noinspection CssUnresolvedCustomProperty,CssOverwrittenProperties*/
[data-title]:after {
content: attr(data-title);
background-color: #ffffe1;
color: #000;
font-size: 11px;
font-weight: normal;
position: absolute;
padding: 1px 5px 2px 5px;
left: 50%;
top: 50%;
left: calc(var(--mouse-x, 0) + 10px);
top: calc(var(--mouse-y, 0) - 20px);
white-space: nowrap;
border: 1px solid #000;
z-index: 99999;
transition: all 0.1s ease 0.5s;
transition-property: opacity;
pointer-events: none;
opacity: 0;
visibility: hidden;
}
[data-title]:hover:after {
opacity: 1;
visibility: visible;
}
.iframe[data-title]:after {
display: none;
}