This is not Bootstrap killer, I just think Bootstrap is way too bloated. SkyBlue is a minimal framework that is meant to be starting point for my projects.
Uses grid system with 12 columns.
I made it for my own needs. Feel free to use it and abuse it, in both free and commercial products.
SkyBlue is available on bower:
bower install skyblue
Framework is made in SASS and source is available on GitHub.
If you want to list your site/project please contact me.
Licenced under MIT license.
Add col
class to every column. Size it using responsive classes,
where #
is a number from 0 to 12
xs-#
sm-#
md-#
lg-#
xl-#
offset-xm-#
offset-sm-#
offset-md-#
offset-lg-#
offset-xl-#
<div class="row"> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> <div class="col md-1">1</div> </div> <div class="row"> <div class="col md-4">4</div> <div class="col md-4">4</div> <div class="col md-4">4</div> </div> <div class="row"> <div class="col md-6">6</div> <div class="col md-6">6</div> </div>
<div class="row"> <div class="col md-1"><div>1</div></div> <div class="col md-11"><div>11</div></div> </div> <div class="row"> <div class="col md-4"><div>4</div></div> <div class="col md-8"><div>8</div></div> </div> <div class="row"> <div class="col md-5"><div>5</div></div> <div class="col md-7"><div>7</div></div> </div> <div class="row"> <div class="col md-6"><div>6</div></div> <div class="col md-6"><div>6</div></div> </div>
<div class="row"> <div class="col md-8"> md-8 <div class="row"> <div class="col xs-6">xs-6</div> <div class="col xs-6">xs-6</div> </div> </div> <div class="col md-4"> md-4 <div class="row"> <div class="col xs-4">xs-4</div> <div class="col xs-4">xs-4</div> <div class="col xs-4">xs-4</div> </div> </div> </div>
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Vestibulum id ligula porta felis euismod semper. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Donec id elit non mi porta gravida at eget metus.
* Use .unstyled
class to remove all styles from lists
Information is not knowledge.
Frank Zappa
Knowledge is not wisdom.
Wisdom is not truth.
Truth is not beauty.
Beauty is not love.
Love is not music.
Music is THE BEST.
RL.stopPropagation = function(e){ e = e || window.event; // IE Fix if(e.stopPropagation){ e.stopPropagation(); } else{ // IE8 and lower stop propagation window.event.cancelBubble = true; window.event.returnValue = false; } };
Inline <code>example</code>
usage.
# | First Name | Last Name | User |
---|---|---|---|
1 | John | Doe | john |
2 | Patty | Smith | psmith |
3 | Ann | Doe | ann |
<table class="table"> <thead> <tr> <th>#</th> <th>First Name</th> <th>Last Name</th> <th>User</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>John</td> <td>Doe</td> <td>john</td> </tr> ... </tbody> </table>
# | First Name | Last Name | User |
---|---|---|---|
1 | John | Doe | john |
2 | Patty | Smith | psmith |
3 | Ann | Doe | ann |
<table class="table table-striped table-bordered table-hover"> ... </table>
For text inputs, selects and textarea, just use class form-control
.
For horizontal forms just use grid
<button class="btn">Button</button> <button class="btn btn-success">Success</button> <button class="btn btn-error">Error</button> <button class="btn btn-warning">Warning</button> <button class="btn btn-light">Light</button> <button class="btn btn-dark">Dark</button>
Just add btn-empty
class.
<button class="btn btn-empty">Button</button>
Just add btn-sm
class.
Just add btn-lg
class.
<button class="btn btn-lg">Button</button>
Class name | What it does | Notes |
---|---|---|
margin-# |
margin: #px | Where # can be 0, 5, 10, 15, 20, 25, 30, 40, 50, 100 |
margin-top-# |
margin-top: #px | Same works for "bottom", "left", "right". |
margin-x-# |
margin-left: #px; margin-right: #px | Same works for "y". |
padding-# |
padding: #px | Where # can be 0, 5, 10, 15, 20, 25, 30, 40, 50, 100 |
padding-top-# |
padding-top: #px | Same works for "bottom", "left", "right". |
padding-x-# |
padding-left: #px; padding-right: #px | Same works for "y". |
float-left |
float: left; | |
float-right |
float: right; | |
float-none |
float: none; | |
clearfix |
@include clearfix; | |
relative |
position: relative; | |
absolute |
position: absolute; | |
text-center |
text-align: center; | |
text-left |
text-align: left; | |
text-right |
text-align: right; | |
text-justify |
text-align: justify; | |
uppercase |
text-transform: uppercase; | |
color-main |
color: $main-color; | |
color-success |
color: $success-color; | |
color-error |
color: $error-color; | |
color-warning |
color: $warning-color; | |
color-light |
color: $light-color; | |
color-dark |
color: $dark-color; | |
color-black |
color: #000; | |
color-white |
color: #fff; | |
bg-main |
background-color: $main-color; color: #fff; | |
bg-success |
background-color: $success-color; color: #fff; | |
bg-error |
background-color: $error-color; color: #fff; | |
bg-warning |
background-color: $warning-color; color: #fff; | |
bg-light |
background-color: $light-color; color: $gray3; | |
bg-dark |
background-color: $dark-color; color: #fff; | |
bg-white |
background-color: #fff; | |
block |
display: block; | |
inline-block |
display: inline-block; | |
inline |
display: inline; | |
hide |
display: none; | |
full-width |
width: 100%; | |
middle |
vertical-align: middle; | |
radius-3 |
border-radius: 3px; | |
radius-5 |
border-radius: 5px; | |
radius-10 |
border-radius: 10px; | |
radius-15 |
border-radius: 15px; | |
radius-big |
border-radius: $big-border-radius; | |
no-border |
border: none; | |
ellipsis |
@include ellipsis; |
TODO docs
I included great stroke icons by Pixeden.
<span class="icon-home"></span>