-
Notifications
You must be signed in to change notification settings - Fork 1
/
notification.css
84 lines (69 loc) · 1.42 KB
/
notification.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
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
.notificationrow :after{
content: "";
display: table;
clear: both;
}
.norifcationcoloum{
padding: 20px;
float: left;
height: 400px;
background: linear-gradient(to right, #ffffff -10%, #dd1c1c 100%);
}
.norifcationleft{
width: 75%;
}
.norifcationright{
width: 25%;
}
.marquee {
height: 300px;
margin-top: 50px;
width: 70%;
overflow: hidden;
position: relative;
background: #ffffff;
color: #333;
border: 0px solid #9c4343;
border-radius: 0px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}
.marquee p {
position: absolute;
width: 100%;
height: 100%;
margin: 0;
line-height: 20px;
text-align: center;
padding-top: 300px;
-moz-animation: marquee 1s linear infinite;
-webkit-animation: marquee 1s linear infinite;
animation: marquee 10s linear infinite;
}
@-moz-keyframes marquee {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -100%);
}
}
@-webkit-keyframes marquee {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -100%);
}
}
@keyframes marquee {
0% {
-moz-transform: translate(0, 0);
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
100% {
-moz-transform: translate(0, -100%);
-webkit-transform: translate(0, -100%);
transform: translate(0, -100%);
}
}