Skip to content

Commit

Permalink
Add pixel equivalent to default values table (#15)
Browse files Browse the repository at this point in the history
* add pixels conversation

* inline pixel equivalent

---------

Co-authored-by: Royer Adames <royeraadames@gmail.com>
  • Loading branch information
RobinMalfait and royeradames committed Apr 24, 2023
1 parent f8b51dd commit c996d7d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Expand Up @@ -76,19 +76,19 @@ To stop an element from acting as a container, use the `@container-normal` class

By default we ship with the following configured values:

| Name | CSS |
| ------ | ------------------------------- |
| `@xs` | `@container (min-width: 20rem)` |
| `@sm` | `@container (min-width: 24rem)` |
| `@md` | `@container (min-width: 28rem)` |
| `@lg` | `@container (min-width: 32rem)` |
| `@xl` | `@container (min-width: 36rem)` |
| `@2xl` | `@container (min-width: 42rem)` |
| `@3xl` | `@container (min-width: 48rem)` |
| `@4xl` | `@container (min-width: 56rem)` |
| `@5xl` | `@container (min-width: 64rem)` |
| `@6xl` | `@container (min-width: 72rem)` |
| `@7xl` | `@container (min-width: 80rem)` |
| Name | CSS |
| ------ | -------------------------------------------- |
| `@xs` | `@container (min-width: 20rem /* 320px */)` |
| `@sm` | `@container (min-width: 24rem /* 384px */)` |
| `@md` | `@container (min-width: 28rem /* 448px */)` |
| `@lg` | `@container (min-width: 32rem /* 512px */)` |
| `@xl` | `@container (min-width: 36rem /* 576px */)` |
| `@2xl` | `@container (min-width: 42rem /* 672px */)` |
| `@3xl` | `@container (min-width: 48rem /* 768px */)` |
| `@4xl` | `@container (min-width: 56rem /* 896px */)` |
| `@5xl` | `@container (min-width: 64rem /* 1024px */)` |
| `@6xl` | `@container (min-width: 72rem /* 1152px */)` |
| `@7xl` | `@container (min-width: 80rem /* 1280px */)` |

You can configure which values are available for this plugin under the `containers` key in your `tailwind.config.js` file:

Expand Down

0 comments on commit c996d7d

Please sign in to comment.