diff options
-rw-r--r-- | docs/src/pages/de/guides/styling.md | 4 | ||||
-rw-r--r-- | docs/src/pages/en/guides/styling.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/src/pages/de/guides/styling.md b/docs/src/pages/de/guides/styling.md index 5c2c1b4ac..3d8fb0c82 100644 --- a/docs/src/pages/de/guides/styling.md +++ b/docs/src/pages/de/guides/styling.md @@ -241,7 +241,9 @@ Füge die Datei deiner Astro-Seite (oder deiner Layout-Komponente) hinzu: ```astro <head> - <link rel="stylesheet" href={Astro.resolve('../styles/global.css')}> + <style global> + @import "../styles/global.css"; + </style> </head> ``` diff --git a/docs/src/pages/en/guides/styling.md b/docs/src/pages/en/guides/styling.md index a32190704..7b7e8b612 100644 --- a/docs/src/pages/en/guides/styling.md +++ b/docs/src/pages/en/guides/styling.md @@ -239,7 +239,9 @@ Lastly, add it to your Astro page (or layout template): ```astro <head> - <link rel="stylesheet" href={Astro.resolve('../styles/global.css')}> + <style global> + @import "../styles/global.css"; + </style> </head> ``` |