30 lines
460 B
HTML
30 lines
460 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: "Test Font";
|
|
src: url("../../resources/Ahem.ttf") format("truetype");
|
|
}
|
|
|
|
#wrapper {
|
|
overflow: hidden;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
#test {
|
|
font: 1000px "Test Font";
|
|
font-style: oblique;
|
|
width: 10000px;
|
|
padding-left: 20px;
|
|
position: relative;
|
|
left: -4080px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper"><div id="test">Test</div></div>
|
|
</body>
|
|
</html>
|