Skip to content

dope/lemonade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemonade

Lemonade is a a simple, flexible and easy-to-customise grid system. It was created in order to give designers & developers a kickstart with their projects. It currently supports Chrome, Firefox, Safari, Opera & IE 9+, also supports major phone devices too.

Installation

  • Clone git clone https://github.com/dope/lemonade.git
  • Download the latest version
  • Install with npm: npm install lemonade-grid
  • Install with Bower: bower install lemonade

CDN Support

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/lemonade/2.1.0/lemonade.min.css">

Getting Started

Getting started couldn't be easier

First you need to link the stylesheet

<link rel="stylesheet" type="text/css" href="css/lemonade.css">

Structuring your layouts

<div class="frame">
    <div class="bit-3">Content here</div>
    <div class="bit-3">Content here</div>
    <div class="bit-3">Content here</div>
</div>

Creating a three-column layout (for galleries for example) is really simple, this will scale down to 100% on mobile. Wrap the .bit's in a .frame class to clear the floats.

Customising your grid

Maybe you want to go old school and create a two-column layout, It's so easy all you need is basic math (along as the .bit- classes equal to 100%, it will be perfect).

<div class="frame">
    <div class="bit-75">Content here</div>
    <div class="bit-25">Content here</div>
</div>

Creating the css is also simple:

.bit-75 {width:75%;}
.bit-25 {width:25%;}

Support

If you have any questions or you're struggling with it, get in touch:

Tutorials

Build a Freshly Squeezed Responsive Grid System If you have written about Lemonade or want too - let me know

Lets make Lemonade

Currently building the real documentation website for Lemonade, If you've got any finished results of using Lemonade or you've got any kind words to say - get in touch

Thank you!

I've had some amazing feedback since creating Lemonade and I am glad it can help people.

Also want to thank people who are testing and contributing to the product.

License

Copyright (C) 2017 Joe Richardson

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.