-
Notifications
You must be signed in to change notification settings - Fork 105
/
vnuny_stale-mouse-74.html
123 lines (120 loc) · 2.69 KB
/
vnuny_stale-mouse-74.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<div class="item-hints">
<div class="hint" data-position="4">
<span class="hint-radius"></span>
<span class="hint-dot">Tip</span>
<div class="hint-content do--split-children">
<p>Use Navbar to navigate the website quickly and easily.</p>
</div>
</div>
</div>
<style>
/* From Uiverse.io by vnuny - Tags: simple, tooltip, animation, black, animated */
.item-hints {
--purple: #720c8f;
cursor: pointer;
display: flex;
justify-content: flex-start;
padding-right: 170px;
}
.item-hints .hint {
margin: 150px auto;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.item-hints .hint-dot {
z-index: 3;
border: 1px solid #ffe4e4;
border-radius: 50%;
width: 60px;
height: 60px;
-webkit-transform: translate(-0%, -0%) scale(0.95);
transform: translate(-0%, -0%) scale(0.95);
margin: auto;
display: flex;
align-items: center;
justify-content: center;
color: white;
}
.item-hints .hint-radius {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
margin: -125px 0 0 -125px;
opacity: 0;
visibility: hidden;
-webkit-transform: scale(0);
transform: scale(0);
}
.item-hints .hint[data-position="1"] .hint-content {
top: 85px;
left: 50%;
margin-left: 56px;
}
.item-hints .hint-content {
width: 300px;
position: absolute;
z-index: 5;
padding: 35px 0;
opacity: 0;
transition: opacity 0.7s ease, visibility 0.7s ease;
color: #fff;
visibility: hidden;
pointer-events: none;
}
.item-hints .hint:hover .hint-content {
position: absolute;
z-index: 5;
padding: 35px 0;
opacity: 1;
-webkit-transition: opacity 0.7s ease, visibility 0.7s ease;
transition: opacity 0.7s ease, visibility 0.7s ease;
color: #fff;
visibility: visible;
pointer-events: none;
}
.item-hints .hint-content::before {
width: 0px;
bottom: 29px;
left: 0;
content: "";
background-color: #fff;
height: 1px;
position: absolute;
transition: width 0.4s;
}
.item-hints .hint:hover .hint-content::before {
width: 180px;
transition: width 0.4s;
}
.item-hints .hint-content::after {
-webkit-transform-origin: 0 50%;
transform-origin: 0 50%;
-webkit-transform: rotate(-225deg);
transform: rotate(-225deg);
bottom: 29px;
left: 0;
width: 80px;
content: "";
background-color: #fff;
height: 1px;
position: absolute;
opacity: 1;
-webkit-transition: opacity 0.5s ease;
transition: opacity 0.5s ease;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.item-hints .hint:hover .hint-content::after {
opacity: 1;
visibility: visible;
}
.item-hints .hint[data-position="4"] .hint-content {
bottom: 85px;
left: 50%;
margin-left: 56px;
}
</style>