Skip to content

vavikk/limeboil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Limeboil

Lightweight and responsive css grid system.

Usage:

Add the link to your html file: <link rel="stylesheet" type="text/css" href="limeboil.css">

Adding content:

<div class="box">       
 <div class="col-2">Some content</div>   
 <div class="col-2">Some content</div>  
</div>    

will create 2 columns, each column will have a 50% width Add -number to set up the width

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

Responsive Video (Using Iframe)

.video - responsive video using iframe
Use the ifrme inside the video class :
<div class="video">
<iframe src="//player.vimeo.com/video/36103466"></iframe>
</div>

Example:

Example1

Thanks:

Inspired by Lemonade grid system. https://github.com/dope/lemonade

About

Flexible grid system and more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages