diff --git a/website/packages/docs/src/pages/server-side-rendering.mdx b/website/packages/docs/src/pages/server-side-rendering.mdx index 312b7c981..4c9a96121 100644 --- a/website/packages/docs/src/pages/server-side-rendering.mdx +++ b/website/packages/docs/src/pages/server-side-rendering.mdx @@ -19,9 +19,9 @@ like so: ```html - +
- +
hello world
``` @@ -40,9 +40,9 @@ resulting in less styles rendered initially: ```html - +
- +
hello world
hello world
hello world
@@ -83,7 +83,10 @@ Here we target the `:first-child` element. But the text isn't red before the JavaScript has executed! To workaround this we can use a different selector, -either `:first-of-type` or explicitly marking the first child with a [data attribute](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes). +by using one of the following: + - `:first-of-type` + - explicitly marking the first child with a [data attribute](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes) + - explicitly excluding the inline `style` elements with `:not(style[data-cmpld])` ```jsx