Grid Column Start / End - Tailwind CSS
| Class | Styles |
|---|---|
| col-span-<number> | grid-column: span <number> / span <number>; |
| col-span-full | grid-column: 1 / -1; |
| col-span-(<custom-property>) | grid-column: span var(<custom-property>) / span var(<custom-property>); |
| col-span-[<value>] | grid-column: span <value> / span <value>; |
| col-start-<number> | grid-column-start: <number>; |
| -col-start-<number> | grid-column-start: calc(<number> * -1); |
| col-start-auto | grid-column-start: auto; |
| col-start-(<custom-property>) | grid-column-start: var(<custom-property>); |
| col-start-[<value>] | grid-column-start: <value>; |
| col-end-<number> | grid-column-end: <number>; |
| -col-end-<number> | grid-column-end: calc(<number> * -1); |
| col-end-auto | grid-column-end: auto; |
| col-end-(<custom-property>) | grid-column-end: var(<custom-property>); |
| col-end-[<value>] | grid-column-end: <value>; |
| col-auto | grid-column: auto; |
| col-<number> | grid-column: <number>; |
| -col-<number> | grid-column: calc(<number> * -1); |
| col-(<custom-property>) | grid-column: var(<custom-property>); |
| col-[<value>] | grid-column: <value>; |
Examples
Spanning columns
Use col-span-<number> utilities like col-span-2 and col-span-4 to make an element span n columns:
Starting and ending lines
Use col-start-<number> or col-end-<number> utilities like col-start-2 and col-end-3 to make an element start or end at the nth grid line:
These can also be combined with the col-span-<number> utilities to span a specific number of columns.
Using a custom value
Use utilities like col-[<value>],col-span-[<value>],col-start-[<value>], and col-end-[<value>] to set the grid column size and location based on a completely custom value:
<div class="col-[16_/_span_16] ..."> <!-- ... --></div>For CSS variables, you can also use the col-(<custom-property>) syntax:
<div class="col-(--my-columns) ..."> <!-- ... --></div>This is just a shorthand for col-[var(<custom-property>)] that adds the var() function for you automatically.
Responsive design
Prefix grid-column,grid-column-start, and grid-column-end utilities with a breakpoint variant like md: to only apply the utility at medium screen sizes and above:
<div class="col-span-2 md:col-span-6 ..."> <!-- ... --></div>Learn more about using variants in the variants documentation.
Từ khóa » End Cột 3
-
End - Chia Động Từ - ITiengAnh
-
Chia Động Từ End - Thi Thử Tiếng Anh
-
Chia động Từ "to End" - Chia động Từ Tiếng Anh
-
Chia động Từ Của động Từ để END
-
Cách Chia động Từ End Trong Tiếng Anh - Monkey
-
Grid-column-end - CSS: Cascading Style Sheets - MDN Web Docs
-
Grid System - Bootstrap
-
End Spike - Minecraft Wiki - Fandom
-
End - Simple English Wiktionary
-
[PDF] L1 Octadecyl Silane (ODS Or C18) Chemically Bonded To Porous Silica
-
1986 FIFA World Cup Final - Wikipedia
-
Bản Mẫu:Col-2 – Wikipedia Tiếng Việt