mirror of
https://github.com/2234839/web-font.git
synced 2025-04-06 05:25:44 +08:00
typo
This commit is contained in:
parent
6b49d15eae
commit
c6372ea8c3
@ -10,8 +10,6 @@ function App() {
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "CustomFont";
|
font-family: "CustomFont";
|
||||||
src: url("${serverPath}api?font=令东齐伋复刻体.ttf&text=${text()}") format("truetype");
|
src: url("${serverPath}api?font=令东齐伋复刻体.ttf&text=${text()}") format("truetype");
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
color: red;
|
color: red;
|
||||||
@ -32,6 +30,7 @@ function App() {
|
|||||||
value={text()}
|
value={text()}
|
||||||
onInput={(e) => set_text(e.target.value)}
|
onInput={(e) => set_text(e.target.value)}
|
||||||
/>
|
/>
|
||||||
|
<div>{text()}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pre>{"<style>" + style() + "</style>"}</pre>
|
<pre>{"<style>" + style() + "</style>"}</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user