Skip to content

Commit a4ef198

Browse files
committed
docs: readme: tailwind css website link added, some text fixes
1 parent d9bfdc5 commit a4ef198

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### What
22

3-
Tailwind CSS plugin
3+
[Tailwind CSS](https://tailwindcss.com/) plugin
44

55
### Why
66

@@ -11,7 +11,7 @@ To avoid style conflicts (CSS collisions/interference side effects) when using T
1111
This plugin is limiting the scope of [Tailwind's opinionated preflight styles](https://tailwindcss.com/docs/preflight) to the customizable CSS selector.
1212
So you can control where exactly in DOM to apply these base styles - usually it's your own components (not the 3rd party).
1313

14-
## V3 is here 🎉
14+
## Version 3 is here 🎉
1515

1616
[Migrate from v2](#from-v2) | [Migrate from v1](#from-v1)
1717

@@ -25,12 +25,12 @@ Starting from version 3 it provides a powerful configuration to (optionally):
2525

2626
For ease of use, there are 3 pre-bundled isolation strategies available (as named imports) that cover 99% cases:
2727

28-
- `isolateInsideOfContainer` - everything is protected from preflight, except specified Tailwind root(s).
28+
- `isolateInsideOfContainer` - everything is protected from the preflight styles, except specified Tailwind root(s).
2929
Use it when you have all the tailwind-powered stuff **isolated under some root container**.
30-
- `isolateOutsideOfContainer` - protects specific root(s) from preflight - Tailwind is everywhere outside.
31-
Use it when you have tailwind everywhere as usual, but you want to **exclude some part of the DOM** from preflight styles.
32-
- `isolateForComponents` - everything is protected from preflight, except components marked with specified selector.
33-
Use it when you want preflight styles to be applied **only to particular elements** immediately (without extra roots or wrappers).
30+
- `isolateOutsideOfContainer` - protects specific root(s) from the preflight styles - Tailwind is everywhere outside.
31+
Use it when you have Tailwind powered stuff everywhere as usual, but you want to **exclude some part of the DOM** from being affected by the preflight styles.
32+
- `isolateForComponents` - everything is protected from the preflight styles, except components marked with the selector of your choice.
33+
Use it when you want the preflight styles to be applied only to particular elements **immediately** (without extra roots or wrappers).
3434
Good for components - just specify some unique css class for all your components and use them anywhere.
3535

3636
> Although all the strategies allow you to specify a number of selectors - it's recommended to use one short selector to avoid CSS bloat as selectors repeat many times in the generated CSS.

0 commit comments

Comments
 (0)