add font usage info
This commit is contained in:
parent
9cb60b7fa4
commit
43c5b5a113
|
@ -30,6 +30,13 @@ $fontname = $matches[1];
|
|||
<p></p>
|
||||
|
||||
<p>here's a sample of the font</p>
|
||||
|
||||
<p>you can use this font by importing it or linking it as a stylesheet:</p>
|
||||
<pre>@import https://tilde.team/~ben/fonts/<?=$font?>/font.css;</pre>
|
||||
<pre><link rel="stylesheet" href="https://tilde.team/~ben/fonts/<?=$font?>/font.css"></pre>
|
||||
|
||||
<p>and then using the font name in a font-face css rule:</p>
|
||||
<pre>* { font-family: '<?=$fontname?>'; }</pre>
|
||||
|
||||
<hr>
|
||||
|
||||
|
|
Loading…
Reference in New Issue