Infinity CSS Grid
Fluid Flex Solution for making infinite grid columns.
147 | You can add as many columns as you like. You can merge the columns or insert columns 148 | inside columns. Everything is 0.1 Kb and even works in IE10. 149 |
150 |├── .gitignore ├── LICENSE ├── README.md ├── grid.css ├── grid.min.css ├── index.html ├── infinity.svg ├── logo.png └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # General 2 | .DS_Store 3 | 4 | # Logs 5 | logs 6 | *.log 7 | npm-debug.log* 8 | yarn-debug.log* 9 | yarn-error.log* 10 | 11 | # Runtime data 12 | pids 13 | *.pid 14 | *.seed 15 | *.pid.lock 16 | 17 | # Directory for instrumented libs generated by jscoverage/JSCover 18 | lib-cov 19 | 20 | # Coverage directory used by tools like istanbul 21 | coverage 22 | 23 | # nyc test coverage 24 | .nyc_output 25 | 26 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 27 | .grunt 28 | 29 | # Bower dependency directory (https://bower.io/) 30 | bower_components 31 | 32 | # node-waf configuration 33 | .lock-wscript 34 | 35 | # Compiled binary addons (https://nodejs.org/api/addons.html) 36 | build/Release 37 | 38 | # Dependency directories 39 | node_modules/ 40 | jspm_packages/ 41 | 42 | # TypeScript v1 declaration files 43 | typings/ 44 | 45 | # Optional npm cache directory 46 | .npm 47 | 48 | # Optional eslint cache 49 | .eslintcache 50 | 51 | # Optional REPL history 52 | .node_repl_history 53 | 54 | # Output of 'npm pack' 55 | *.tgz 56 | 57 | # Yarn Integrity file 58 | .yarn-integrity 59 | 60 | # dotenv environment variables file 61 | .env 62 | 63 | # next.js build output 64 | .next 65 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Vladimir Carrer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [](https://unpkg.com/infinity-css-grid@1.0.1/grid.min.css) 2 | 3 |
Ultra minimal fluid Flex Grid.
8 | 9 |Infinity CSS Grid is around 0,1 Kb CSS for making any number of columns.
13 | 14 | 15 |Just add any number of .column in the .row:
16 | 17 | ```html 18 | // For 3 columns: 19 | 20 |The CSS code is based on this:
28 | 29 | ```css 30 | .row{display: flex; flex-flow: row wrap} 31 | 32 | .column{flex:1} 33 | ``` 34 | 35 | You can make tests here: https://vladocar.github.io/infinity-css-grid/demo1.html 36 | 37 |Just simply download the project or:
40 | 41 | 42 | ```shell 43 | $ npm i infinity-css-grid 44 | ``` 45 | 46 | ```html 47 | 48 | ``` 49 | 50 |Fluid Flex Solution for making infinite grid columns.
147 | You can add as many columns as you like. You can merge the columns or insert columns 148 | inside columns. Everything is 0.1 Kb and even works in IE10. 149 |
150 |