iainnitro
Coder
Greetings all:
I have been developing webpages for a few years but out of practice quite a bit. Now doing a bit of Development and running a YouTube channel. I want to create a single webpage for closing credits that will use CSS3 to scroll the text upwards (movie end credit style). I am attaching my HTML file as I currently is and need a bit more than most online tutorials seem to cover and at least 3 YouTube videos on the subject as my animation does not happen in Firefox. I am not understanding something so if anyone can give me a clue, it will be appreciated. Have spent a few days and three hours coding the file which is attached to try and get this single animation to work. Please advise on what ever it is I am not getting here and thanks in advance!
This is for my own YouTube channel and will be used for my own end credits.
Thanks,
Michael
the actual body:
this is all in one file so the style is in the head.
I have been developing webpages for a few years but out of practice quite a bit. Now doing a bit of Development and running a YouTube channel. I want to create a single webpage for closing credits that will use CSS3 to scroll the text upwards (movie end credit style). I am attaching my HTML file as I currently is and need a bit more than most online tutorials seem to cover and at least 3 YouTube videos on the subject as my animation does not happen in Firefox. I am not understanding something so if anyone can give me a clue, it will be appreciated. Have spent a few days and three hours coding the file which is attached to try and get this single animation to work. Please advise on what ever it is I am not getting here and thanks in advance!
This is for my own YouTube channel and will be used for my own end credits.
Thanks,
Michael
CSS:
<Style>
body{
/* General Page attributes */
background:#000;
font-family: 'Orbitron', sans-serif;
text-transform:uppercase;
text-align:center;
margin:0;
padding:0;
}
.container {
white-space: nowrap;
overflow: hidden;
}
.container div {
animation: anim 100s linear infinite;
}
h1 {color: purple;}
p {color: teal;}
@keyframes anim {
0% {
transform: translate(0,0);
}
100% {
transform: translate(0,-100);
}
}
</style>
the actual body:
HTML:
<div class="container">
<h1>Basic Setup test</h1>
<p>lorum ipsum etc.</p>
<p>lorum ipsum</p>
<p>lorum ipsum reductum</p>
<p> more stuff and things </p>
<p><img src="Digital-Patreon-Logo_FieryCoral.png" height=100 width=100/></p>
<p><img src="logo-color.png"/></p>
</div>
this is all in one file so the style is in the head.
Attachments
Last edited: