diff --git a/src/routes/concepts/components/class-style.mdx b/src/routes/concepts/components/class-style.mdx index a334d1e72..c2c840de8 100644 --- a/src/routes/concepts/components/class-style.mdx +++ b/src/routes/concepts/components/class-style.mdx @@ -37,9 +37,8 @@ This is because they are not reusable, and they can be difficult to maintain ove The `class` attribute allows you to style one or more elements through CSS rules. This provides a more structured approach to styling, as it allows you to reuse styles across multiple elements. -Classes are defined in CSS files, which are then imported into the component files that use them. -You can import these files using the `import` statement at the top of your component file. -Once imported into a component, the classes are scoped to that component and any of its children. +Classes are defined in CSS files. You can import these files using the `import` statement at the top of your component file. +The CSS file's contents will be inserted into a style tag in the document head. ```jsx import "./Card.css";