You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
670 B
CSS
52 lines
670 B
CSS
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: "Courier New", Courier, monospace;
|
|
background-color: blue;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
|
|
#text {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
height: 100px;
|
|
animation: scroll-left 500s linear infinite;
|
|
}
|
|
|
|
.marquee {
|
|
font-size: 40px;
|
|
color: #0f0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@keyframes scroll-left {
|
|
0% {
|
|
left: 0;
|
|
}
|
|
|
|
100% {
|
|
left: -3000%;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes scroll-left {
|
|
0% {
|
|
-moz-transform: translateX(100%);
|
|
}
|
|
|
|
100% {
|
|
-moz-transform: translateX(-100%);
|
|
}
|
|
} |