add to the docs
This commit is contained in:
parent
55f3f93f91
commit
7e759ac7e9
1 changed files with 8 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ Tailwind exposes a few custom CSS functions and directives that can be used in y
|
|||
|
||||
### `@@tailwind`
|
||||
|
||||
Use the `@@tailwind` directive to insert Tailwind's `preflight` and `utilities` styles into your CSS. Here's a full example of how you might do this:
|
||||
Use the `@@tailwind` directive to insert Tailwind's `preflight`, `utilities` and `screen` styles into your CSS. Here's a full example of how you might do this:
|
||||
|
||||
```less
|
||||
/**
|
||||
|
|
@ -25,6 +25,13 @@ Use the `@@tailwind` directive to insert Tailwind's `preflight` and `utilities`
|
|||
* config file.
|
||||
*/
|
||||
@@tailwind utilities;
|
||||
|
||||
/**
|
||||
* (Optional)
|
||||
* This injects the utility classes and styles wrapped by the @@responsive directive.
|
||||
* These will be appended at the end of the stylesheet if the `@@tailwind screens` directive is not used.
|
||||
*/
|
||||
@@tailwind screens;
|
||||
```
|
||||
|
||||
### `@@apply`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue