wouterrrfm
New Member
Hi all,
I made a small layout by using HTML and CSS. I've added it as a browser source. Unfortunately, the CSS keyframes aren't working. Is this unsupported by OBS? Here is an example of my code.
#cover2 {
animation: move 40s infinite ease-in-out;
animation-fill-mode: both;
animation-delay: 3s;
animation-name: trans1;
animation-direction: normal;
}
@keyframes trans1 {
0% {
opacity: 0;
transform: translateY(30px);
}
3% {
opacity: 0;
transform: translateY(30px);
}
4% {
opacity: 100%;
transform: translateY(0);
}
50% {
opacity: 100%;
transform: translateY(0);
}
51% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 0;
transform: translateY(30px);
}
}
Regards,
Wouter
I made a small layout by using HTML and CSS. I've added it as a browser source. Unfortunately, the CSS keyframes aren't working. Is this unsupported by OBS? Here is an example of my code.
#cover2 {
animation: move 40s infinite ease-in-out;
animation-fill-mode: both;
animation-delay: 3s;
animation-name: trans1;
animation-direction: normal;
}
@keyframes trans1 {
0% {
opacity: 0;
transform: translateY(30px);
}
3% {
opacity: 0;
transform: translateY(30px);
}
4% {
opacity: 100%;
transform: translateY(0);
}
50% {
opacity: 100%;
transform: translateY(0);
}
51% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 0;
transform: translateY(30px);
}
}
Regards,
Wouter