Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 8, 2024
1 parent 960680d commit c370136
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ You can define this mixins in `mixins` option.

This type is ideal for CSS hacks or business logic.

Also you should use function mixin if you need to change property names
Also, you should use function mixin if you need to change property names
in mixin, because [postcss-simple-vars] doesn’t support variables
in properties yet.

First argument will be `@mixin` node, that called this mixin.
You can insert your declarations or rule before or after this node.
Other arguments will be taken from at-rule parameters.

See [PostCSS API] about nodes API.
See [PostCSS API](https://postcss.org/api/) about nodes API.

```js
require('postcss-mixins')({
Expand Down Expand Up @@ -351,8 +351,8 @@ module.exports = {
Type: `string|string[]`

Similar to [`mixinsDir`](#mixinsdir); except, you can provide
[tinyglobby](https://github.com/SuperchupuDev/tinyglobby) syntax to target or not target
specific files.
[tinyglobby](https://github.com/SuperchupuDev/tinyglobby) syntax
to target or not target specific files.

```js
require('postcss-mixins')({
Expand Down

0 comments on commit c370136

Please sign in to comment.