User:4erospace/common.css: Difference between revisions
CSS test |
m CSS test |
||
Line 1: | Line 1: | ||
.marquee { | |||
margin: 0 auto; | |||
white-space: nowrap; | |||
overflow: hidden; | overflow: hidden; | ||
position: absolute; | |||
} | |||
.marquee span { | |||
display: inline-block; | |||
padding-left: 100%; | |||
animation: marquee 5s linear infinite; | |||
} | } | ||
.marquee2 span { | |||
animation | animation-delay: 2.5s; | ||
} | } | ||
Line 19: | Line 23: | ||
transform: translate(-100%, 0); | transform: translate(-100%, 0); | ||
} | } | ||
} | } |