Skip to content

Commit ce0efb4

Browse files
authoredMar 2, 2020
Improve consistent usage of "CSS" (#21874)
1 parent 9162a8e commit ce0efb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/tutorial/part-two/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You now have a new Gatsby site (based on the Gatsby "hello world" starter) with
4848
│   └── index.js
4949
```
5050

51-
#### ✋ Add styles to a css file
51+
#### ✋ Add styles to a CSS file
5252

5353
1. Create a `.css` file in your new project:
5454

@@ -80,7 +80,7 @@ html {
8080
}
8181
```
8282

83-
> Note: The placement of the example css file in a `/src/styles/` folder is arbitrary.
83+
> Note: The placement of the example CSS file in a `/src/styles/` folder is arbitrary.
8484
8585
#### ✋ Include the stylesheet in `gatsby-browser.js`
8686

@@ -130,7 +130,7 @@ If you take a look at your project in the browser, you should see a lavender bac
130130
131131
## Using component-scoped CSS
132132

133-
So far, we've talked about the more traditional approach of using standard css stylesheets. Now, we'll talk about various methods of modularizing CSS to tackle styling in a component-oriented way.
133+
So far, we've talked about the more traditional approach of using standard CSS stylesheets. Now, we'll talk about various methods of modularizing CSS to tackle styling in a component-oriented way.
134134

135135
### CSS Modules
136136

@@ -161,7 +161,7 @@ export default ({ children }) => (
161161
)
162162
```
163163

164-
You'll notice you imported a css module file named `container.module.css`. Let's create that file now.
164+
You'll notice you imported a CSS module file named `container.module.css`. Let's create that file now.
165165

166166
2. In the same directory (`src/components`), create a `container.module.css` file and copy/paste the following:
167167

0 commit comments

Comments
 (0)
Please sign in to comment.