You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pure is meant to be a starting point for every website or web app. We take care of all the CSS work that
19
20
every site needs, without making it look cookie-cutter:
20
21
21
-
* A responsive grid that can be customized to your needs
22
+
* A responsive grid that can be customized to your needs.
23
+
22
24
* A solid base built on [normalize.css](http://necolas.github.io/normalize.css/) to fix cross-browser compatibility issues.
23
-
* Consistently styled buttons
24
-
* Styles for vertical and horizontal menus
25
-
* Useful form alignments
26
-
* Various common table styles
27
-
* An extremely minimalist look that is super-easy to customize
28
-
* Responsive by default, with a non-responsive option
25
+
26
+
* Consistently styled buttons that work with `<a>` and `<button>` elements.
27
+
28
+
* Styles for vertical and horizontal menus, including support for dropdown menus.
29
+
30
+
* Useful form alignments that look great on all screen sizes.
31
+
32
+
* Various common table styles.
33
+
34
+
* An extremely minimalist look that is super-easy to customize.
35
+
36
+
* Responsive by default, with a non-responsive option.
37
+
29
38
* Easy one-click customization with the [Skin Builder](http://yui.github.io/skinbuilder/?mode=pure)
30
-
* Extremely small file size: ***< 5KB!***
31
39
32
-
[Check out Pure](http://www.purecss.io)
40
+
* Extremely small file size: *** 4.8KB minified + gzip***
41
+
42
+
[Check out Pure](http://purecss.io)
33
43
34
44
## Get Started
35
45
36
-
To get started using Pure, go to the [Pure CSS website](http://www.purecss.io). The website has extensive documentation and examples necessary to get you started using Pure.
46
+
To get started using Pure, go to the [Pure CSS website](http://purecss.io). The website has extensive documentation and examples necessary to get you started using Pure.
37
47
38
48
You can include the Pure CSS file in your project by fetching it from Yahoo's CDN:
39
49
@@ -46,49 +56,41 @@ You can include the Pure CSS file in your project by fetching it from Yahoo's CD
46
56
Optionally, you can build Pure from it's source on Github. To do this, you'll need to have NodeJS and npm installed. We use Grunt to build Pure.
47
57
48
58
```shell
49
-
git clone git@github.com:yui/pure.git
50
-
cd pure
51
-
npm install
52
-
grunt
59
+
$ git clone git@github.com:yui/pure.git
60
+
$ cd pure
61
+
$ npm install
62
+
$ grunt
53
63
```
54
64
55
-
Now, all Pure CSS files should be built into the `pure/build/` directory. All files that are in this build directory are also available on the CDN. The naming conventions of the built files follow these rules:
65
+
Now, all Pure CSS files should be built into the `pure/build/` directory. All files that are in this build directory are also available on the CDN. The naming conventions of the files in the `build/` directory follow these rules:
66
+
67
+
*`build/[module]-nr.css`: Rollup of `src/[module]-core.css` + `src/[module].css` + `src/[module]-[feature].css`. This is the non-responsive version of a module.
68
+
69
+
*`build/[module].css`: Rollup of `build/[module]-nr.css` + `src/[module]-r.css`. This is the responsive version of a module.
70
+
71
+
*`build/*-min.css`: A minified file version of the files of the same name.
56
72
57
-
*`[module]-nr.css`: Rollup of `-core.css` + `[module].css` + `-[feature].css`. This is the non-responsive version of a module.
58
-
*`[module].css`: Rollup of `-nr.css` + `-r.css`. This is the responsive version of a module.
59
-
*`*-min.css`: A minified file version of the files of the same name.
60
-
*`kimono-min.css`: A rollup of all `[module].css` files. This is a responsive roll-up of everything.
61
-
*`kimono-nr-min.css`: A Rollup of all modules without @media queries. This is a non-responsive roll-up of everything.
73
+
*`build/pure-min.css`: A rollup of all `build/[module].css` files. This is a responsive roll-up of everything.
74
+
75
+
*`build/pure-nr-min.css`: A Rollup of all modules without @media queries. This is a non-responsive roll-up of everything.
62
76
63
77
### Building specific modules
64
78
65
79
You can build a specific module by passing in its name into Grunt:
66
80
67
81
```shell
68
-
grunt grids
82
+
$ grunt grids
69
83
```
70
84
71
85
## Contributions and Code Standards
72
86
73
-
Feel free to file bugs and submit pull requests on Github! When submitting a pull request, please checkout a new branch. Don't submit pull requests from your `master` branch. To do this:
74
-
75
-
```shell
76
-
git checkout -b my-pull-request
77
-
git add .
78
-
git commit -m 'done all my commits'
79
-
git push origin my-pull-request
80
-
```
81
-
82
-
Submit a pull request from your `origin/my-pull-request` branch to `pure/master`.
87
+
Feel free to file bugs and submit pull requests on Github! When submitting a pull request, please checkout a new feature branch, and submit your pull request from it. Please do not submit pull requests from your `master` branch.
83
88
84
89
### Versioning
85
90
86
91
Pure adheres to [Semantic Versioning 2.0](http://semver.org/).
87
92
88
93
## License
89
94
90
-
Copyright 2013 Yahoo! Inc. All rights reserved. Check the LICENSE.md for more information.
91
-
92
-
93
-
94
-
95
+
This software is free to use under the Yahoo! Inc. BSD license.
96
+
See the [LICENSE file](https://github.com/yui/pure/blob/master/LICENSE.md) for license text and copyright information.
0 commit comments