Skip to content

Commit 7bff1c2

Browse files
load css automatically
1 parent 9829d93 commit 7bff1c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ <h1>Schemascii Playground</h1>
8585
}
8686
async function setup() {
8787
css.value = await fetch("schemascii_example.css").then(x => x.text());
88+
style_elem.innerHTML = css.value;
8889
css.addEventListener("input", () => {
8990
style_elem.innerHTML = css.value;
9091
});

0 commit comments

Comments
 (0)