-
Notifications
You must be signed in to change notification settings - Fork 3
/
tooltip.css
48 lines (46 loc) · 976 Bytes
/
tooltip.css
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
.tooltip1{
content: "";
visibility: hidden;
position: absolute;
top: 96%;
left: 36%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent #555 transparent ;
}
.tooltip:hover .tooltip1, .tooltip:hover .tooltiptext{
visibility: visible;
opacity: 1;
}
/*.tooltip1{
visibility: hidden;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 5px;
position: absolute;
z-index: 1;
opacity: 0;
transition: opacity 1s;
width: 120px;
top: 101%;
left: 50%;
margin-left: -6rem;
}
.tooltip1::before{
content: "";
visibility: hidden;
position: absolute;
top: 96%;
left: 36%;
margin-left: -5rem;
border-width: 5rem;
border-style: solid;
border-color: transparent transparent #555 transparent ;
}
.imgdiv0:hover .tooltip1 {
visibility: visible;
opacity: 1;
}