flex-attributes
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "flex-attributes", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A css library that allows you to compose flexbox layouts with attributes.", | ||
@@ -5,0 +5,0 @@ "main": "flex-attributes.css", |
@@ -5,18 +5,18 @@ Flex Attributes | ||
This library allows you to compose layout with flexbox in html. Containers | ||
are composed by combining `fa-column`|`fa-row` with `fa-layout`. | ||
are composed by combining `flex-column`|`flex-row` with `flex-flow`. | ||
`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. | ||
`flex-column` or `flex-row` sets the element to be a flex container and sets the direction, `flex-flow` defines how children align on the main, and secondary axis. | ||
``` | ||
fa-column="reverse nowrap" fa-layout="space-between baseline" | ||
flex-column="reverse nowrap" flex-flow="space-between baseline" | ||
``` | ||
`fa-row` and `fa-column` can be shorthanded and default to the flexbox defaults | ||
`flex-row` and `flex-column` can be shorthanded and default to the flexbox defaults | ||
``` | ||
fa-row fa-layout="start baseline" | ||
flex-row flex-flow="start baseline" | ||
``` | ||
`fa-layout` can be shorthanded to just the main axis | ||
`flex-flow` can be shorthanded to just the main axis | ||
``` | ||
fa-row fa-layout="space-between" | ||
flex-row flex-flow="space-between" | ||
``` | ||
@@ -32,2 +32,2 @@ | ||
Add or import `flex-attributes/dist/flex-attributes.css` into your index or compiled css build process | ||
Add, import, or require `flex-attributes/dist/flex-attributes.css` into your project. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22911