Skip to content

Commit 8354b10

Browse files
committed
Merge branch 'master' of github.com:hemlok/flex-attributes
2 parents f077b9a + 25b3749 commit 8354b10

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.MD

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ Flex Attributes
22
=============
33

44
This library allows you to compose layout with flexbox in html. Containers
5-
are composed by combining fa-column|fa-row with fa-layout.
5+
are composed by combining `fa-column`|`fa-row` with `fa-layout`.
66

77
`fa-column` or `fa-row` sets the element to be a flex container and sets the direction, `fa-layout` defines how children align on the main, and secondary axis.
88
```
99
fa-column="reverse nowrap" fa-layout="space-between baseline"
1010
```
1111

12+
`fa-row` and `fa-column` can be shorthanded and default to the flexbox defaults
13+
14+
```
15+
fa-row fa-layout="start baseline"
16+
```
1217

1318
`fa-layout` can be shorthanded to just the main axis
1419
```
@@ -23,4 +28,4 @@ npm install flex-attributes
2328
bower install flex-attributes
2429
```
2530

26-
Add or import flex-attributes/dist/flex-attributes.css into your index or compiled css build process
31+
Add or import `flex-attributes/dist/flex-attributes.css` into your index or compiled css build process

0 commit comments

Comments
 (0)