Thanks, Elusien. Will use this to get to understand how it works.
Here is the full HTML/CSS/Webvfx code of the top video subtitles (simple fade in/out):
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>I Will Survive subtitles</title><style>
body {
background-color:powderblue:
}
#container {
height: 1080px;
width: 1920px;
padding: 0;
top: 50%;
left:50%;
position: absolute;
margin: -540px 0 0 -960px;
background-color:transparent;
overflow:hidden;
opacity:1;
}
#global_fade {
height: 1080px;
width: 1920px;
padding: 0;
top: 50%;
left:50%;
position: absolute;
margin: -540px 0 0 -960px;
background-color:transparent;
overflow:hidden;
opacity:1;
}
#text_container {
position:absolute;
top:850px;
height: 90px;
width:100%;
overflow: hidden;
background-color:transparent;
}
#subtitle01 {
position:absolute;
height:90px;
width:1800px;
left:50%;
margin-left:-900px;
text-align:center;
font-family:arial;
color:white;
font-size:60px;
text-shadow: 2px 2px grey;
background-color:transparent;
opacity:0;
}
</style></head>
<body data-control="50:30 ">
<div id="container">
<div id="global_fade" class="webvfx" data-animate="{start: 0.6, end: 0.9, ease: "easeInOutSine",
0% : {opacity:1; },
100% : {opacity:0;}
}">
<div id="text_container">
<div id="subtitle01" class="webvfx" data-animate="{start: 0.000, end: 0.075, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">At first I was afraid, I was petrified,</div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.075, end: 0.160, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">Kept thinking I could never live without you by my side,</div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.160, end: 0.260, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">But then I spent so many nights thinking how you did me wrong - </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.260, end: 0.300, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">And I grew strong, </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.300, end: 0.340, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">And I learned how to get along - </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.340, end: 0.380, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">And so you're back - </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.380, end: 0.420, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">From outer space ... </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.420, end: 0.520, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">I just walked in to find you here with that sad look upon your face ...</div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.520, end: 0.530, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">Huh ...</div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.530, end: 0.600, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">Weren't you the one who tried to hurt me with goodbye? </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.600, end: 0.640, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">Do you think I'd crumble? </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.640, end: 0.700, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}"> Did you think I'd lay down and die? </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.700, end: 0.740, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}">Oh no, Not I .... </div>
<div id="subtitle01" class="webvfx" data-animate="{start: 0.740, end: 0.780, ease: "easeInOutSine",
0%: {opacity:0;},
10%: {opacity:0.8;},
20%: {opacity:1;},
90%: { opacity:1;},
100%: { opacity:0;}
}"> ... I will survive .... </div>
</div>
</div>
</div>