Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-variation-settings descriptor</title>
<style>
@font-face {
font-family: "slant";
src: url(variations/resources/Inter.var.subset.ttf);
}
.slantOn {
font-family: slant;
font-variation-settings: 'slnt' -20;
}
</style>
<body>
<p>Test passes if the line below has slanted text.</p>
<div class="slantOn">
<span>filler text</span>
</div>
</body>
</html>