Lightweight and responsive css grid system.
Add the link to your html file:
<link rel="stylesheet" type="text/css" href="limeboil.css">
<div class="box">
<div class="col-2">Some content</div>
<div class="col-2">Some content</div>
</div>
class="anything-1..12" - a class ending with -1..12 wil get the proper width
<div class="anything-here-2">This is 50% of the screen</div>
- the class name ends with "-2" it means that it has the 50% width
<div class="r-3">r: float-right, -3: </div>
- r- will float right, -3 will sett the width to 30%
Also
.container
- 1200px wide container
.w980
- width:980px
.w960
- hm, for some project I use 960px, can't remember why
.right, .r-
- will float right
.left, .l-
- will float left
.resp
- will make the image responsive
.disabled
- will disable the element
.video
- responsive video using iframe
Use the ifrme inside the video class :
<div class="video">
<iframe src="//player.vimeo.com/video/36103466"></iframe>
</div>
Inspired by Lemonade grid system. https://github.com/dope/lemonade