grid-style
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,11 @@ | ||
<a name="0.3.1"></a> | ||
## [0.3.1](https://github.com/lbwa/grid-style/compare/v0.3.0...v0.3.1) (2018-07-31) | ||
### Bug Fixes | ||
* wrong package name in README ([58ac8f8](https://github.com/lbwa/grid-style/commit/58ac8f8)) | ||
<a name="0.3.0"></a> | ||
@@ -2,0 +12,0 @@ # [0.3.0](https://github.com/lbwa/grid-style/compare/v0.2.2...v0.3.0) (2018-07-31) |
{ | ||
"name": "grid-style", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Grid layout implemented by flex box.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.css", |
@@ -54,9 +54,9 @@ # grid-style [![npm](https://img.shields.io/npm/v/grid-style.svg)](https://www.npmjs.com/package/grid-style) [![Build Status](https://travis-ci.org/lbwa/grid-style.svg?branch=master)](https://travis-ci.org/lbwa/grid-style) | ||
| -------- | ------ | ----------- | | ||
| .gird | container | define box container | | ||
| .grid | container | define box container | | ||
| .grid.no-wrap | container | disallow wrap item | | ||
| .gird.col | container | set flex direction to column | | ||
| .gird.cr | container | set flex direction to column-reverse | | ||
| .gird.row | container | set flex direction to row | | ||
| .gird.rr | container | set flex direction to row-reverse | | ||
| .gird-cell | item | define default flex grow factor value of a item | | ||
| .grid.col | container | set flex direction to column | | ||
| .grid.cr | container | set flex direction to column-reverse | | ||
| .grid.row | container | set flex direction to row | | ||
| .grid.rr | container | set flex direction to row-reverse | | ||
| .grid-cell | item | define default flex grow factor value of a item | | ||
| .grid-cell-1 ~ .grid-cell-12 | item | define single item width (based on `1/12 container width`) | | ||
@@ -82,7 +82,7 @@ | ||
| .grid-bottom | container | define alignment per ***row*** to bottom-aligned | | ||
| .grid-jc-start | container | define alignment per ***item*** to left-aligned | | ||
| .grid-jc-end | container | define alignment per ***item*** to right-aligned | | ||
| .grid-jc-center | container | define alignment per ***item*** to horizontally-centered | | ||
| .grid-jc-between | container | define alignment per ***item*** to space-between-aligned | | ||
| .grid-jc-around | container | define alignment per ***item*** to space-around-aligned | | ||
| .grid-jc-start | container | define alignment all ***item*** to left-aligned | | ||
| .grid-jc-end | container | define alignment all ***item*** to right-aligned | | ||
| .grid-jc-center | container | define alignment all ***item*** to horizontally-centered | | ||
| .grid-jc-between | container | define alignment all ***item*** to space-between-aligned | | ||
| .grid-jc-around | container | define alignment all ***item*** to space-around-aligned | | ||
| .grid-cell-top | item | define alignment per ***item*** to top-aligned | | ||
@@ -92,3 +92,3 @@ | .grid-cell-center | item | define alignment per ***item*** to vertically-centered | | ||
***Notice***: You have to make sure all item total width less than container width if you are using `.grid-jc-` properties. You can use `.grid-cell-` to limit item width. | ||
***Notice***: You have to make sure all item total width less than container width if you are using `.grid-jc-` properties. You can use `.grid-cell-1 ~ .grid-cell-12` to limit item width. | ||
@@ -99,3 +99,3 @@ [Online alignment demo][demo-alignment] | ||
<div class="grid grid-bottom"> | ||
<!-- all child item element will be bottom-aligned excluding gird-cell alignment element --> | ||
<!-- all child item element will be bottom-aligned excluding grid-cell alignment element --> | ||
<div class="grid-cell"> | ||
@@ -102,0 +102,0 @@ <!-- content of this area will be bottom-aligned --> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
29477