Skip to content

Commit 1105771

Browse files
authored
Update README.md
1 parent d8c880f commit 1105771

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ With zero configuration, it will generate grids from 1 to 12 columns in size, no
3535

3636
The plugin generates the following sets of classes:
3737

38-
- `.grid`, for setting `display: grid` on an element
39-
- `.grid-columns-{size}`, for specifying the number of columns in the grid
40-
- `.col-span-{columns}`, for specifying how wide a cell should be
41-
- `.grid-gap-{size}`, for specifying the size of the gap between columns/rows
42-
- `.grid-automin-{size}`, for applying the minimum width of the columns using auto-fit and minmax (the max is 1fr)
43-
- `.col-start-{line}` and `.col-end-{line}`, for specifying a cell's start and end points explicitly (useful for reordering cells or leaving gaps)
44-
- `.row-span-{columns}`, for specifying how tall a cell should be
38+
- `.grid` for setting `display: grid` on an element
39+
- `.grid-columns-{size}` for specifying the number of columns in the grid
40+
- `.col-span-{columns}` for specifying how wide a cell should be
41+
- `.grid-gap-{size}` for specifying the size of the gap between columns/rows
42+
- `.grid-automin-{size}` for applying the minimum width of the columns using auto-fit and minmax (the max is 1fr)
43+
- `.col-start-{line}` and `.col-end-{line}` for specifying a cell's start and end points explicitly (useful for reordering cells or leaving gaps)
44+
- `.row-span-{columns}` for specifying how tall a cell should be
4545
- `.row-start-{line}` and `.row-end-{line}`, for specifying a cell's start and end points explicitly (useful for reordering cells or leaving gaps)
4646
- `.grid-dense` applies `grid-auto-flow: dense`
4747

4848
It's not really practical to expose all of the power of CSS Grid through utilities, but this plugin is a good example of using CSS Grid to replace a cell-only float or Flexbox grid.
4949

5050
---
5151

52-
This repo was originally isolated from [https://github.com/tailwindcss/plugin-examples](https://github.com/tailwindcss/plugin-examples) to publish to npm. Credit and thanks to @adamwathan
52+
This repo was originally isolated from [https://github.com/tailwindcss/plugin-examples](https://github.com/tailwindcss/plugin-examples) to publish to npm. Credit and thanks to [https://github.com/adamwathan](@adamwathan)
5353

5454
[View original demo](https://tailwindcss.github.io/plugin-examples/#css-grid)
5555

0 commit comments

Comments
 (0)