mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
add HISTORY.md for Grids and Base changes
This commit is contained in:
parent
3bbbf47ccd
commit
9f59f01dd3
21
HISTORY.md
21
HISTORY.md
@ -4,9 +4,30 @@ Pure Change History
|
|||||||
NEXT
|
NEXT
|
||||||
----
|
----
|
||||||
|
|
||||||
|
### Base
|
||||||
|
|
||||||
|
* Added the `.pure-img` class name for make images scale with the viewport in
|
||||||
|
fluid layouts.
|
||||||
|
|
||||||
|
### Grids
|
||||||
|
|
||||||
|
* __[!]__ Removed `.pure-g-r` from core, in favor of a mobile-first responsive
|
||||||
|
grid system. To use the mobile-first grid system, you need to pull in
|
||||||
|
`pure.css`, along with `grids-responsive.css`:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc1/pure-min.css">
|
||||||
|
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc1/grids-responsive-min.css">
|
||||||
|
```
|
||||||
|
|
||||||
|
Find out more about the new grid system at [http://purecss.io/grids/][Grids].
|
||||||
|
|
||||||
|
### Tables
|
||||||
|
|
||||||
* Switched cell padding in Tables from `px` to `em` units, and also increased
|
* Switched cell padding in Tables from `px` to `em` units, and also increased
|
||||||
the amount of padding to `padding: 0.5em 1em`.
|
the amount of padding to `padding: 0.5em 1em`.
|
||||||
|
|
||||||
|
[Grids]: http://purecss.io/grids/
|
||||||
|
|
||||||
0.4.2 (2014-02-13)
|
0.4.2 (2014-02-13)
|
||||||
------------------
|
------------------
|
||||||
|
@ -23,4 +23,5 @@
|
|||||||
.pure-img {
|
.pure-img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user