|
Download tabler-react/src/components/Grid/GridCol.examples.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/GridCol.examples.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/GridCol.examples.md
-
curl -L -o GridCol.examples.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/GridCol.examples.md
1.13 kB
<Grid.Row>
<Grid.Col>1</Grid.Col>
<Grid.Col>2</Grid.Col>
<Grid.Col>3</Grid.Col>
<Grid.Col>4</Grid.Col>
<Grid.Col>5</Grid.Col>
<Grid.Col>6</Grid.Col>
<Grid.Col>7</Grid.Col>
<Grid.Col>8</Grid.Col>
<Grid.Col>9</Grid.Col>
<Grid.Col>10</Grid.Col>
<Grid.Col>11</Grid.Col>
<Grid.Col>12</Grid.Col>
</Grid.Row>
Column Width
<Grid.Row>
<Grid.Col width={2}>1</Grid.Col>
<Grid.Col width={4}>2</Grid.Col>
<Grid.Col width={6}>3</Grid.Col>
</Grid.Row>
Responsive Column Width
<Grid.Row>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
1
</Grid.Col>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
2
</Grid.Col>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
3
</Grid.Col>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
4
</Grid.Col>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
5
</Grid.Col>
<Grid.Col xl={1} lg={2} md={4} sm={6} xs={12}>
6
</Grid.Col>
</Grid.Row>
Column Offset
<Grid.Row>
<Grid.Col width={6} offset={3}>
2
</Grid.Col>
<Grid.Col md={6} offsetMd={3}>
4
</Grid.Col>
</Grid.Row>