Skip to content

Commit

Permalink
Update PostCSS plugin list in README (#20956)
Browse files Browse the repository at this point in the history
  • Loading branch information
giraffesyo authored Jan 11, 2021
1 parent 86bb064 commit 8d7e7d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/with-tailwindcss/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tailwind CSS example

This is an example of using [Tailwind CSS](https://tailwindcss.com) in a Next.js project.
This example is a basic starting point for using [Tailwind CSS](https://tailwindcss.com) with Next.js.

## Deploy your own

Expand All @@ -22,8 +22,9 @@ Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&ut

## Notes

This example is a basic starting point for using [Tailwind CSS](https://tailwindcss.com) with Next.js. It includes the following [PostCSS](https://github.com/postcss/postcss) plugins:
This example includes the following [PostCSS](https://github.com/postcss/postcss) plugins:

- [postcss-preset-env](https://preset-env.cssdb.org/) - Adds stage 2+ features and autoprefixes
- [tailwindcss](https://tailwindcss.com) - utility-first CSS framework
- [autoprefixer](https://github.com/postcss/autoprefixer) - plugin to parse CSS and add vendor prefixes to CSS rules using values from [Can I Use](https://caniuse.com).

To control the generated stylesheet's filesize, this example uses Tailwind CSS' [`purge` option](https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css) to remove unused CSS.

0 comments on commit 8d7e7d5

Please sign in to comment.