Skip to content

Commit 6893dd7

Browse files
Document row-<number> and col-<number> (#2125)
See tailwindlabs/tailwindcss#15183
1 parent 73fcdce commit 6893dd7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/docs/grid-column.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export const description = "Utilities for controlling how elements are sized and
2424
["col-end-(<custom-property>)", "grid-column-end: var(<custom-property>);"],
2525
["col-end-[<value>]", "grid-column-end: <value>;"],
2626
["col-auto", "grid-column: auto;"],
27+
["col-<number>", "grid-column: <number>;"],
28+
["-col-<number>", "grid-column: calc(<number> * -1);"],
2729
["col-(<custom-property>)", "grid-column: var(<custom-property>);"],
2830
["col-[<value>]", "grid-column: <value>;"],
2931
]}

src/docs/grid-row.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export const description = "Utilities for controlling how elements are sized and
2424
["row-end-(<custom-property>)", "grid-row-end: var(<custom-property>);"],
2525
["row-end-[<value>]", "grid-row-end: <value>;"],
2626
["row-auto", "grid-row: auto;"],
27+
["row-<number>", "grid-row: <number>;"],
28+
["-row-<number>", "grid-row: calc(<number> * -1);"],
2729
["row-(<custom-property>)", "grid-row: var(<custom-property>);"],
2830
["row-[<value>]", "grid-row: <value>;"],
2931
]}

0 commit comments

Comments
 (0)