-
Notifications
You must be signed in to change notification settings - Fork 105
/
nabilbdt_new-robin-92.html
55 lines (52 loc) · 1.14 KB
/
nabilbdt_new-robin-92.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<div class="Tooltip">
Tooltip
<div class="Tip">Uiverse.io</div>
</div>
<style>
/* From Uiverse.io by nabilbdt - Tags: simple, tooltip, action, alert, green, creative */
.Tooltip {
color: #ebebeb;
border-radius: 0.8em;
padding: 1em 4em;
position: relative;
display: inline-block;
cursor: pointer;
background-color: #00641e;
-webkit-transition: background-color 2s ease-out;
-moz-transition: background-color 2s ease-out;
-o-transition: background-color 2s ease-out;
transition: background-color 2s ease-out;
}
.Tooltip .Tip {
color: #003b12;
text-align: center;
border-radius: 5px;
visibility: hidden;
width: 100px;
left: 100%;
transform: translateX(-50%);
opacity: 0;
background-color: #28282817;
padding: 10px;
position: absolute;
z-index: 1;
bottom: 125%;
transition: opacity 0.3s;
}
.Tooltip:hover .Tip {
opacity: 1;
visibility: visible;
}
.Tooltip:hover {
background-color: rgb(100, 100, 100);
}
.Tooltip .Tip::after {
left: 10%;
border-width: 8px;
border-style: solid;
content: "";
position: absolute;
top: 100%;
border-color: #28282817 transparent transparent transparent;
}
</style>