@@ -4,7 +4,7 @@ Sass Mixins to generate Flexbox grid.
4
4
5
5
** Flexbox Grid Mixins** is Sass Mixins library to help you write well-structured, readable, maintainable, component-based grid using Flexbox (CSS Flexible Box Layout Module).
6
6
7
- Flexbox Grid Mixins documentation: [ http ://thingsym.github.io/flexbox-grid-mixins/] ( http ://thingsym.github.io/flexbox-grid-mixins/)
7
+ Flexbox Grid Mixins documentation: [ https ://thingsym.github.io/flexbox-grid-mixins/] ( https ://thingsym.github.io/flexbox-grid-mixins/)
8
8
9
9
## Example
10
10
@@ -45,23 +45,20 @@ $default-grid-gutter: 2%;
45
45
```
46
46
.grid {
47
47
box-sizing: border-box;
48
- display: -webkit-flex;
49
48
display: -ms-flexbox;
50
49
display: flex;
51
50
margin: 0 -1%;
52
51
}
53
52
54
53
.grid > .grid__col-3 {
55
54
box-sizing: border-box;
56
- -webkit-flex: 0 0 23%;
57
55
-ms-flex: 0 0 23%;
58
56
flex: 0 0 23%;
59
57
margin: 0 1% 2%;
60
58
}
61
59
62
60
.grid > .grid__col-9 {
63
61
box-sizing: border-box;
64
- -webkit-flex: 0 0 73%;
65
62
-ms-flex: 0 0 73%;
66
63
flex: 0 0 73%;
67
64
margin: 0 1% 2%;
@@ -76,7 +73,13 @@ $default-grid-gutter: 2%;
76
73
$ npm install flexbox-grid-mixins --save-dev
77
74
```
78
75
79
- ### bower
76
+ ### Yarn
77
+
78
+ ```
79
+ $ yarn add flexbox-grid-mixins --dev
80
+ ```
81
+
82
+ ### Bower (deprecated)
80
83
81
84
```
82
85
$ bower install flexbox-grid-mixins --save
@@ -123,6 +126,10 @@ Example : import form node_modules
123
126
124
127
See Flexbox Grid Mixins documentation: [ http://thingsym.github.io/flexbox-grid-mixins/ ] ( http://thingsym.github.io/flexbox-grid-mixins/ )
125
128
129
+ ## Package manager
130
+
131
+ [ flexbox-grid-mixins - npm] ( https://www.npmjs.com/package/flexbox-grid-mixins )
132
+
126
133
### Mixins Reference and Example
127
134
128
135
* [ Mixins Reference] ( http://thingsym.github.io/flexbox-grid-mixins/#Mixins-Reference )
@@ -134,25 +141,8 @@ See Flexbox Grid Mixins documentation: [http://thingsym.github.io/flexbox-grid-m
134
141
* [ Unit-Set Grid (Experimental stage)] ( http://thingsym.github.io/flexbox-grid-mixins/example/unit-set.html )
135
142
* [ Grid Type] ( http://thingsym.github.io/flexbox-grid-mixins/example/grid-type.html )
136
143
137
- ## Contribute
138
-
139
- ### Patches and Bug Fixes
140
-
141
- Small patches and bug reports can be submitted a issue tracker in GitHub. Forking on GitHub is another good way. You can send a pull request.
142
-
143
- GitHub: [ https://github.com/thingsym/flexbox-grid-mixins ] ( https://github.com/thingsym/flexbox-grid-mixins )
144
-
145
- ### Guidlines
146
-
147
- If you would like to contribute, here are some notes and guidlines.
148
-
149
- * All development happens on the ** develop** branch, so it is always the most up-to-date
150
- * The ** master** branch only contains tagged releases
151
- * If you are going to be submitting a pull request, please submit your pull request to the ** develop** branch
152
- * See about [ forking] ( https://help.github.com/articles/fork-a-repo/ ) and [ pull requests] ( https://help.github.com/articles/using-pull-requests/ )
153
-
154
-
155
144
### Development
145
+
156
146
1 . run ``` $ sudo yum install nodejs npm ```
157
147
2 . run ``` $ sudo npm install --global gulp-cli ```
158
148
3 . Forking on GitHub
@@ -162,8 +152,28 @@ If you would like to contribute, here are some notes and guidlines.
162
152
7 . run ``` $ gulp serve ```
163
153
8 . Access URL http://localhost:3000
164
154
155
+ ## Contribution
156
+
157
+ ### Patches and Bug Fixes
158
+
159
+ Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.
160
+
161
+ 1 . Fork [ Flexbox Grid Mixins] ( https://github.com/thingsym/flexbox-grid-mixins ) from GitHub repository
162
+ 2 . Create a feature branch: git checkout -b my-new-feature
163
+ 3 . Commit your changes: git commit -am 'Add some feature'
164
+ 4 . Push to the branch: git push origin my-new-feature
165
+ 5 . Create new Pull Request
166
+
165
167
## Changelog
166
168
169
+ * Version 0.1.4
170
+ * update example
171
+ * update document
172
+ * fix conditional expression
173
+ * add optional arguments $width, $max-width, $min-width, $height, $max-height and $min-height to @mixin grid-col
174
+ * enable flex-grow with number column
175
+ * add positive preset column
176
+ * change readme.md file name to upper case
167
177
* Version 0.1.3
168
178
* rename folder to docs from doc, change gh-pages
169
179
* update document
@@ -182,24 +192,10 @@ If you would like to contribute, here are some notes and guidlines.
182
192
183
193
## License
184
194
185
- The MIT License (MIT)
186
-
187
- Copyright (c) 2016 Thingsym
195
+ Licensed under the MIT License.
188
196
189
- Permission is hereby granted, free of charge, to any person obtaining a copy
190
- of this software and associated documentation files (the "Software"), to deal
191
- in the Software without restriction, including without limitation the rights
192
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
193
- copies of the Software, and to permit persons to whom the Software is
194
- furnished to do so, subject to the following conditions:
197
+ ## Author
195
198
196
- The above copyright notice and this permission notice shall be included in all
197
- copies or substantial portions of the Software.
199
+ [ thingsym] ( https://github.com/thingsym )
198
200
199
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
200
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
201
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
202
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
203
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
204
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
205
- SOFTWARE.
201
+ Copyright (c) 2016 thingsym
0 commit comments