FloatButton_wev8.css
1.43 KB
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
.wev-comp-FloatButton {
width: 44px;
height: 44px;
border-radius: 2.25em;
background-color: #fff;
box-shadow: 0px 0px 8px rgba(0,0,0,.2);
position: absolute;
z-index: 999;
text-align: center;
-webkit-overflow-scrolling: touch;
visibility: hidden;
}
.wev-comp-FloatButton > img{
width: 24px;
height: 24px;
position: relative;
top: 50%;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}
.wev-comp-FloatButton > div{
line-height: 44px;
font-size: 12px;
}
.wev-comp-FloatButton .wev-badge {
position: absolute;
right: 0px;
top: 0px;
transform: translate(20%,-20%);
-webkit-transform: translate(20%,-20%);
}
.wev-comp-FloatButton .fourletters {
line-height: 18px;
font-size: 12px;
letter-spacing: 3px;
padding-left: 3px;
padding-top: 4px;
}
.wev-comp-FloatButton .wordsLoop {
color: #000;
display: inline-block;
white-space: nowrap;
animation: 5s wordsLoop linear infinite normal;
}
@keyframes wordsLoop {
0% {
transform: translateX(40px);
-webkit-transform: translateX(40px);
}
100% {
transform: translateX(-100%);
-webkit-transform: translateX(-100%);
}
}
@-webkit-keyframes wordsLoop {
0% {
transform: translateX(40px);
-webkit-transform: translateX(40px);
}
100% {
transform: translateX(-100%);
-webkit-transform: translateX(-100%);
}
}