From 9a589296adec849371dbac4b41806c3b26d630cb Mon Sep 17 00:00:00 2001 From: Mike Burton Date: Sat, 29 Nov 2025 08:50:45 -0800 Subject: [PATCH] update for clarity --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6be15d6..cc02696 100644 --- a/README.md +++ b/README.md @@ -696,8 +696,6 @@ You can add your own custom CSS to the UI. This allows you to globaly style the 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. -This can be used in conjunction with `setPanelClass` to apply custom CSS styles to controls. - ```cpp const char* myCustomCSS = ".test { color: red; }"; @@ -711,6 +709,7 @@ void setup() { The custom CSS is served at `/css/custom.css` and is automatically included in the `index.htm` file. +This can be used in conjunction with `setPanelClass` to apply custom CSS styles to controls. # Notes for Development