5.1.4 • Published 1 year ago

@teft/grid v5.1.4

Weekly downloads
9
License
GPL-2.0-or-later
Repository
github
Last release
1 year ago

Grid

While it is possible to override the number of columns used by the grid package, we strongly recommend using 12 columns. A lot of the functionality built upon Teft is based on 12 columns and there will be a lot of work to make everything compatible with a custom columns setup.

Installation

Install the module

npm install @teft/grid

Variables

NameDefault value
--teft-grid-gapvar(--teft-theme-gap)
--teft-grid-columns12

Examples

Basic Grid Setup

CSS

.example-left-column {
	grid-column-end: 4;
	grid-column-start: 1;
}

.example-right-column {
	grid-column-end: 12;
	grid-column-start: 4;
}

Markup

<div class="teft-grid">
	<div class="example-left-column">
		<p>Left column</p>
	</div>
	<div class="example-right-column">
		<p>Right column</p>
	</div>
</div>
5.1.4

1 year ago

5.1.2

1 year ago

5.1.0

1 year ago

5.0.3

1 year ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.2-alpha.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago