Improve FOUCE reduction utility, docs fixes, :state(wa-defined) (#643)

* Utility layout

* Split out, improve & document FOUCE utility
This commit is contained in:
Lea Verou
2025-01-31 08:19:30 -08:00
committed by GitHub
parent ce1ce6caca
commit 404d59d9d6
11 changed files with 179 additions and 19 deletions

View File

@@ -3,14 +3,14 @@
<wa-tab panel="css">In CSS</wa-tab>
<wa-tab-panel name="html">
Simply add the following code to the `<head>` of your page:
Add the following code to the `<head>` of your page:
```html
<link rel="stylesheet" href="{% cdnUrl stylesheet %}" />
```
</wa-tab-panel>
<wa-tab-panel name="css">
Simply add the following code at the top of your CSS file:
Add the following code at the top of your CSS file:
```css
@import url('{% cdnUrl stylesheet %}');
```