-
Notifications
You must be signed in to change notification settings - Fork 13
/
MMM-NewsFeedTicker.css
62 lines (54 loc) · 1.19 KB
/
MMM-NewsFeedTicker.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
@-webkit-keyframes marquee {
0% { left: 100%; }
100% { left: -100%; }
}
@-moz-keyframes marquee {
0% { left: 100%; }
100% { left: -100%; }
}
@-ms-keyframes marquee {
0% { left: 100%; }
100% { left: -100%; }
}
@-o-keyframes marquee {
0% { left: 100%; }
100% { left: -100%; }
}
@keyframes marquee {
0% { left: 100%; }
100% { left: -100%; }
}
.MMM-NewsFeedTicker {
width: 100%;
height: 50px;
line-height: 100%;
overflow: hidden;
background: rgb(104, 9, 9); /* background color - change to 'none' if don't want */
}
.MMM-NewsFeedTicker .tickerbody {
margin: 0 auto;
width: 100%;
padding-top: 5px;
position: relative;
white-space: nowrap;
overflow: visible;
-webkit-animation: marquee linear infinite;
-moz-animation: marquee linear infinite;
-ms-animation: marquee linear infinite;
-o-animation: marquee linear infinite;
animation: marquee linear infinite;
}
.MMM-NewsFeedTicker .headline {
font-size: 40px;
font-weight: bold;
}
.MMM-NewsFeedTicker .image {
position: absolute;
display: inline-block;
vertical-align: middle;
bottom: 0;
left: 0;
height: 50px;
z-index: 100;
background: rgb(255, 255, 255); /* white background for image */
}