Weighs in at just ~2.3KB (937 bytes gzipped).
Serves as the perfect base, leaving the decisions up to you.
Infinitely flexible grid, and optional preset responsive grid units.
Hydrogen is a modern CSS foundation. I avoid the use of the word "framework", because it implies bias. Hydrogen is entriely unbiased and offering up only a starting point with the intention of being overriden. It is small enough to be justifiable on small projects, and customizable enough to use on large applications.
To get started simply download the base CSS file (~2.3KB / 937 bytes gzipped) and the optional grid units file.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ut nisl nec urna faucibus posuere quis a est. Vestibulum eu dui augue. Sed interdum erat neque, a finibus risus condimentum scelerisque. Aliquam ac dui leo. Praesent pellentesque nunc ut orci egestas venenatis. Nunc nec mi vitae nibh ullamcorper fermentum. Quisque dictum consectetur pharetra. Morbi rhoncus mi nisl, in fringilla nunc dictum id. Nunc condimentum aliquam semper. Aliquam sit amet scelerisque urna. Integer vitae laoreet leo. Proin auctor, tellus at dignissim vehicula, mauris arcu luctus velit, eu ullamcorper erat nisi pulvinar lectus. Morbi et rhoncus nisl. Curabitur sagittis orci nec felis pharetra porta. Aenean interdum id mi eget fringilla. Quisque volutpat in sem at cursus.
# | Header | Header | Header | Header |
---|---|---|---|---|
1,001 | Lorem | ipsum | dolor | sit |
1,002 | amet | consectetur | adipiscing | elit |
1,003 | Integer | nec | odio | Praesent |
1,003 | libero | Sed | cursus | ante |
1,004 | dapibus | diam | Sed | nisi |
1,005 | Nulla | quis | sem | at |
1,006 | nibh | elementum | imperdiet | Duis |
1,007 | sagittis | ipsum | Praesent | mauris |
1,008 | Fusce | nec | tellus | sed |
1,009 | augue | semper | porta | Mauris |
1,010 | massa | Vestibulum | lacinia | arcu |
1,011 | eget | nulla | Class | aptent |
1,012 | taciti | sociosqu | ad | litora |
1,013 | torquent | per | conubia | nostra |
1,014 | per | inceptos | himenaeos | Curabitur |
1,015 | sodales | ligula | in | libero |
By default, Hydrogen's grid provides you with the foundation to build fully custom, responsive grids. Enabling you to truly program for the responsive medium that is the web.
To make development faster, Hydrogen ships with a separate grid-units file. That offers preset grid units on the 5th & 24th scale, with triggers at the follow breakpoints:
Key | Media Query | Applies |
---|---|---|
sm | @media screen and min-width(30em) { ... } |
≥480px |
md | @media screen and min-width(48em) { ... } |
≥768px |
lg | @media screen and min-width(64em) { ... } |
≥1024px |
sm | @media screen and min-width(76.5em) { ... } |
≥1224px |