diff options
author | 2021-04-27 13:42:03 -0500 | |
---|---|---|
committer | 2021-04-27 13:42:03 -0500 | |
commit | 73b7827b40ae33664877156850ecf04302fa668a (patch) | |
tree | bab8d916d06238bd859435c13b2c7390936a9cba /docs/styling.md | |
parent | 41c64b30af7ed34c1a870b6f273a2889fa2df102 (diff) | |
download | astro-73b7827b40ae33664877156850ecf04302fa668a.tar.gz astro-73b7827b40ae33664877156850ecf04302fa668a.tar.zst astro-73b7827b40ae33664877156850ecf04302fa668a.zip |
chore: update docs to new defaults (#133)
Diffstat (limited to 'docs/styling.md')
-rw-r--r-- | docs/styling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/styling.md b/docs/styling.md index 0688d2959..181d1434f 100644 --- a/docs/styling.md +++ b/docs/styling.md @@ -18,7 +18,7 @@ Styling in Astro is meant to be as flexible as you’d like it to be! The follow Styling in an Astro component is done by adding a `<style>` tag anywhere. By default, all styles are **scoped**, meaning they only apply to the current component. To create global styles, add a `:global()` wrapper around a selector (the same as if you were using [CSS Modules][css-modules]). ```html -<!-- astro/components/MyComponent.astro --> +<!-- src/components/MyComponent.astro --> <style> /* Scoped class selector within the component */ |