blob: bc8214d2cb5a7cee10b32d651b78554efd65848e [file] [log] [blame]
<!DOCTYPE html>
<title>Reference for WebVTT rendering, ::cue(), white-space: pre-line (cue that wraps)</title>
<style>
html { overflow:hidden }
body { margin:0 }
.video {
display: inline-block;
width: 1280px;
height: 720px;
font-size: 36px;
position: relative
}
.cue {
position: absolute;
bottom: 0;
left: 40%;
right: 0;
width: 20%;
text-align: center;
}
.cue > span {
font-family: sans-serif;
background: rgba(0,0,0,0.8);
color: white;
white-space: normal
}
</style>
<div class="video"><span class="cue"><span>A A A A A A<br> A A A A A</span></span></div>