27 lines
583 B
HTML
27 lines
583 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.grid { -webkit-line-grid: simple; -webkit-line-snap: baseline;
|
|
font-size:36px; position:absolute;border:2px solid black;
|
|
padding:10px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style="left:10px; top:10px" class="grid">
|
|
<div style="font-size:12px">
|
|
This text should snap<br>
|
|
to a 36px font-size grid.<br>
|
|
There should be lots of spacing between these lines.
|
|
</div>
|
|
</div>
|
|
|
|
<div style="left:350px; top:10px" class="grid">
|
|
This text should snap<br>
|
|
to a 36px font-size grid.<br>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|