-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathddd.html
95 lines (89 loc) · 2.61 KB
/
ddd.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
<style type="text/css">
@-webkit-keyframes scrollText1 {
0%{
-webkit-transform: translateY(0px);
}
20%{
-webkit-transform: translateY(-30px);
}
40%{
-webkit-transform: translateY(-60px);
}
60%{
-webkit-transform: translateY(-90px);
}
80%{
-webkit-transform: translateY(-120px);
}
100%{
-webkit-transform: translateY(-150px);
}
}
@keyframes scrollText1 {
0%{
transform: translateY(0px);
}
20%{
transform: translateY(-30px);
}
40%{
transform: translateY(-60px);
}
60%{
transform: translateY(-90px);
}
80%{
transform: translateY(-120px);
}
100%{
transform: translateY(-150px);
}
}
.box3{
position: relative;
top: 6%;
left: 3%;
width: 200px;
height: 30px;
overflow: hidden;
background: rgba(0,0,0,0.7);
z-index: 1000;
color: white;
border-radius: 13px;
}
.border3{
top: 0px;
-webkit-animation:scrollText1 8s infinite cubic-bezier(1,0,0.5,0) ;
animation:scrollText1 8s infinite cubic-bezier(1,0,0.5,0) ;
}
.border3 img{ border-radius:50%; margin-left: 5px;
height: 24px;
line-height: 24px;
vertical-align: middle;
}
.border3 div{
height: 30px;
line-height: 28px;
}
.border3:hover{
animation-play-state:paused;
-webkit-animation-play-state:paused;
}
.shuoming{font-size:12px;height:30px;line-height: 30px;}
</style>
<div class="box3">
<div class="border3">
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="24">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="25">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="25">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="25">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="25">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
<div><img id="headpic" src="https://avatars2.githubusercontent.com/u/23172646?s=40&v=4" width="25">
<span class="shuoming">最新订单来自盐城的哈哈</span></div>
</div>
</div>