Skip to content

Commit c287ac7

Browse files
Added a note about prefixes (#19)
* Added a note about prefixes * Update README.md --------- Co-authored-by: Adam Wathan <[email protected]>
1 parent e53d76e commit c287ac7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,19 @@ To stop an element from acting as a container, use the `@container-normal` class
7272
<!-- ... -->
7373
</div>
7474

75+
### With a prefix
76+
77+
If you have configured Tailwind to use a prefix, make sure to prefix both the `@container` class and any classes where you are using a container query modifier:
78+
79+
```html
80+
<div class="tw-@container">
81+
<!-- ... -->
82+
<div class="@lg:tw-underline">
83+
<!-- ... -->
84+
</div>
85+
</div>
86+
```
87+
7588
## Configuration
7689

7790
By default we ship with the following configured values:

0 commit comments

Comments
 (0)