0.4.0 • Published 8 years ago
postcss-layouts v0.4.0
PostCSS Layouts
A shorthand for applying sensible layout methods.
Flex
layout: flex [options];options
shrinkMakes container items shrink to width of its contentcolumnChanges direction of container itemsnowrapPrevents container items from wrappingopenSets width of container items to full width of container
Example:
.container {
layout: flex column nowrap;
}By default flex automatically makes container items grow to available space and wrap if equal to bigger than the container's width.
Inline Block
layout: inline-block;Example:
.container {
layout: inline-block;
}Uses inline-block technique to layout container items.
Setup
npm install postcss-layouts --save-dev0.4.0
8 years ago
0.3.4
8 years ago
0.3.3
8 years ago
0.3.2
8 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.5
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.10
8 years ago
0.1.9
8 years ago
0.1.8
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.1
8 years ago