Skip to content

Commit 0a1ce34

Browse files
authored
Update styling-with-utility-classes.mdx (#2090)
Minor edit to a sentence explaining class composition
1 parent 79d65d7 commit 0a1ce34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/styling-with-utility-classes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Both of these effects rely on the `filter` property in CSS, so Tailwind uses CSS
393393
}
394394
```
395395

396-
The generated CSS above is slightly simplified, but the trick here is that each utility sets a CSS variable for the just the effect it's meant to apply. Then the `filter` property looks at all of these variables, falling back to nothing if the variable hasn't been set.
396+
The generated CSS above is slightly simplified, but the trick here is that each utility sets a CSS variable just for the effect it's meant to apply. Then the `filter` property looks at all of these variables, falling back to nothing if the variable hasn't been set.
397397

398398
Tailwind uses this same approach for [gradients](/docs/background-image#adding-a-linear-gradient), [shadow colors](/docs/box-shadow#setting-the-shadow-color), [transforms](/docs/translate), and more.
399399

0 commit comments

Comments
 (0)