mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
add to the docs
This commit is contained in:
parent
55f3f93f91
commit
7e759ac7e9
@ -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…
x
Reference in New Issue
Block a user