-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interpolation error fixins in letter c, roman numerals and kerning im…
…provements
- Loading branch information
1 parent
5a8df6d
commit be91239
Showing
6 changed files
with
399 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1.0"> | ||
<title>Piazzolla weight transition</title> | ||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | ||
<link rel="stylesheet" | ||
href="assets/specimen.css"> | ||
</head> | ||
|
||
<body> | ||
<div id="app"> | ||
<div class="title"> | ||
<h2 class="sc">Piazzolla weight transition</h2> | ||
<p><a href="https://huertatipografica.com/">Huerta Tipográfica</a></p> | ||
</div> | ||
<div class="container"> | ||
<div class="control"> | ||
<label> | ||
features | ||
<input type="text" | ||
v-model.number="features" | ||
placeholder='"liga", "smcp"'> | ||
<input type="range" | ||
v-model.number="duration" | ||
min="0.1" | ||
step="0.1" | ||
max="4"> | ||
</label> | ||
</div> | ||
<div contenteditable="true" | ||
spellcheck="false" | ||
class="ani block" | ||
:style="`font-feature-settings: ${ features }; animation-duration: ${ duration }s;`"> | ||
<p> | ||
Edit me… | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
<style> | ||
@keyframes fontweighter { | ||
0% { | ||
font-weight: 100; | ||
} | ||
|
||
100% { | ||
font-weight: 900; | ||
} | ||
} | ||
|
||
.ani { | ||
margin-top: 1em; | ||
font-size: 15em; | ||
animation: fontweighter infinite alternate ease-in-out; | ||
line-height: 1; | ||
margin: 0; | ||
animation-duration: 2s; | ||
} | ||
</style> | ||
|
||
<script> | ||
new Vue({ | ||
el: '#app', | ||
data: { | ||
features: '', | ||
duration: 2, | ||
} | ||
}) | ||
</script> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.