1
0
mirror of https://github.com/s00500/ESPUI.git synced 2026-01-16 13:36:20 +00:00

readme fixes

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
2026-01-12 19:57:33 +01:00
parent f922db3502
commit 0b47135a31

View File

@@ -524,7 +524,6 @@ or other CSS effects. Add styles with the following functions:
```
setPanelStyle(uint16_t id, String style);
setPanelStyle(uint16_t id, String style);
setElementStyle(uint16_t id, String style);
setPanelClass(uint16_t id, String pClass);
```
@@ -692,7 +691,7 @@ The custom JavaScript is served at `/js/custom.js` and is automatically included
### User-defined CSS
You can add your own custom CSS to the UI. This allows you to globaly style the UI.
You can add your own custom CSS to the UI. This allows you to globally style the UI.
To add custom CSS, call `ESPUI.setCustomCSS()` before `ESPUI.begin()`. The argument to `setCustomCSS()` is a C-string containing the CSS code. This string must remain valid for the lifetime of the ESPUIClass instance.