I know this question has been a billion times, but none of the answers are working (Google Chrome 61, Windows 10).
@font-face {
font-family: Antipasto;
src: url(Antipasto-ExtraBoldTrial.ttf);
}
h2 {
font-family: Antipasto;
}
p {
font-family: Antipasto;
}
div {
display: inline;
}
<div width="30%" style="float:left">
<video width="30%" height="30%" controls>
<source src="video1.mp4" type="video/mp4">
No video.
</video>
</div>
<div width="50%" style="float:left">
<h2>Title</h2>
<p>Sentence 1</p>
<p>Sentence 2.</p>
<p>Sentence 3</p>
</div>
It works in the preview there, but not on my local computer.
Many of these answers are not working on my laptop either, I guess it's a graphics issue with Chrome. Thanks for everybody for helping anyway.