Skip to content
This repository has been archived by the owner on Feb 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #33 from n1kk/master
Browse files Browse the repository at this point in the history
Updated documentation for PR FullHuman/purgecss#210
  • Loading branch information
Ffloriel committed Oct 29, 2019
2 parents 091ca92 + 9c90666 commit e413414
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions whitelisting.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ h1 {
}
```

Use `/* purgecss ignore current */` to whitelist the current rule.

```css
h1 {
/* purgecss ignore current */
color: blue;
}
```

You can use `/* purgecss start ignore */` and `/* purgecss end ignore */` to whitelist a range of rules.

```css
Expand Down

0 comments on commit e413414

Please sign in to comment.