Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r3wt/ez-framework
a rethought approach to responsive web design
https://github.com/r3wt/ez-framework
css css-framework ez-framework js responsive-design sass
Last synced: about 1 month ago
JSON representation
a rethought approach to responsive web design
- Host: GitHub
- URL: https://github.com/r3wt/ez-framework
- Owner: r3wt
- Created: 2017-01-08T23:37:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T21:57:47.000Z (almost 8 years ago)
- Last Synced: 2024-11-07T21:43:40.531Z (3 months ago)
- Topics: css, css-framework, ez-framework, js, responsive-design, sass
- Language: CSS
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### ez-framework
# abstract
-----
- to provide as small as possible file size.
- deliver an extensible responsive framework in a single javascript file.
- instead of using media queries, use a simple concept of device type:
- mobile
- tablet
- desktop
- needs to render fast
- no screen flicker
- no dependencies; PERIOD!
- familiar 12 column layout concept
- to be easily customizeable and extendable
1. drop in sass dependencies
2. edit sass
3. edit js
4. recompile# notes
-----
1. ez automatically pulls in roboto font and material design icons from googlefonts.
2. ez has a throttled window listener to check body sizes.
3. the device detection is basic at this time, and the logical precendence is important for the detection to work. you can see explanation in src/ez.js `getSize()` function.
# roadmap
-----
1. ~~grid~~
2. ~~basic size selection~~
3. ~~improve device size selection~~
4. ~~basic typography~~
5. scaling typography
6. list & menu components (including navbar)
7. form components
8. ~~animated loading indicator~~
# building
-----
1. clone repo
2. install dependencies with `npm install`
3. build with gulp `gulp`
# usage
-----
```html```
# js documentation
-----
none yet.
# css documentation
-----1. `.row` - a row of columns
2. `.container(.fluid)` - a container element with max width of 1200px. add `.fluid` class for full width.
3. `.col` - a column element. default width 100%, so in case of element having class `.col.m-12` width will be 100% since no selector other than `.col` will match.
4. `.col.m-{1-11}` m stands for **mobile**. width of element is 100 / number (in percent), same as bootstrap and foundation.
5. `.col.t-{1-11}` t stands for **tablet**. width of element is 100 / number (in percent), same as bootstrap and foundation.
6. `.col.d-{1-11}` m stands for **desktop**. width of element is 100 / number (in percent), same as bootstrap and foundation.
8. `.loading(.hide-contents)` attaching this class will overlay an element with an loading indicator animation. add `.hide-contents` to hide all other children of the element.
9. `.input` works on textarea,select,and inputs.
10. `.btn` to be used on buttons, links, and input[type="button"] extra classes coming soon.
11. `.form-group` provides a bottom margin to a group of form inputs. identical to the same concept in bootstrap.
12. `.checkbox` coming soon
13. `.radio` coming soon
14. `.switch` coming soon
15. `.slider` coming soon