Menu

Open Style Documentation

GitHub Source Download CSS

● Installation

● CSS version

1. Download the normalize.css, put it in your /css folder and reference in your html:

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

2. Download the all-in-one css version, put it in your /css folder and reference in your html:

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

● SASS version

1. Go to the github repository and download the source code;

2. In the /sass/main.scss file, comment out the style you do not need (you have to keep variables and helpers);

3. In the /sass/variables.scss file, change the variables to your own design such as color, font size, border radius, etc.

4. Install SASS and compile /sass/main.scss into style.css

5. Enjoy your style!

● Background Color

.pri-bg-l
.pri-bg
.pri-bg-d
.sec-bg-l
.sec-bg
.sec-bg-d
.ter-bg-l
.ter-bg
.ter-bg-d
.black-bg-l
.black-bg
.black-bg-d
.white-bg-l
.white-bg
.white-bg-d

● Text Color

.pri-txt-l
.pri-txt
.pri-txt-d
.sec-txt-l
.sec-txt
.sec-txt-d
.ter-txt-l
.ter-txt
.ter-txt-d
.black-txt-l
.black-txt
.black-txt-d
.white-txt-l
.white-txt
.white-txt-d

● Font

h1 : Heading 1

h2 : Heading 2

h3 : Heading 3

h4 : Heading 4

h5 : Heading 5
h6 : Heading 6

.extra

.bold

.semi

.normal

.light

p : Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quae culpa eaque adipisci in nam necessitatibus voluptates repellendus asperiores quas dolores blanditiis vitae laudantium, nesciunt saepe nobis architecto distinctio harum molestiae!

● Grid System

* Note1: add .clear-float if you want to start with a new line.

* Note2: you can nest the grid system and get more column types.

.col-1of1
.col-1of2
.col-1of2
.col-1of3
.col-1of3
.col-1of3
.col-2of3
.col-1of3
.col-1of4
.col-1of4
.col-1of4
.col-1of4
.col-1of5
.col-1of5
.col-1of5
.col-1of5
.col-1of5
.col-1of7
.col-1of7
.col-1of7
.col-1of7
.col-1of7
.col-1of7
.col-1of7
.col-1of3 .push-1of3
.col-1of3 .push-2of3
.col-1of4 .push-1of4
.col-1of4 .push-1of2
.col-1of4 .push-3of4
.col-1of5 .push-1of5
.col-1of5 .push-2of5
.col-1of5 .push-3of5
.col-1of5 .push-4of5
.col-1of7 .push-1of7
.col-1of7 .push-2of7
.col-1of7 .push-3of7
.col-1of7 .push-4of7
.col-1of7 .push-5of7
.col-1of7 .push-6of7
.col-1of1-g
.col-1of2-g
.col-1of2-g
.col-1of3-g
.col-1of3-g
.col-1of3-g
.col-2of3-g
.col-1of3-g
.col-1of4-g
.col-1of4-g
.col-1of4-g
.col-1of4-g
.col-1of5-g
.col-1of5-g
.col-1of5-g
.col-1of5-g
.col-1of5-g
.col-1of7-g
.col-1of7-g
.col-1of7-g
.col-1of7-g
.col-1of7-g
.col-1of7-g
.col-1of7-g

● Position Helpers

.pull-left

.pull-right

.clear-all

.clear-margin .margin-l2

.clear-margin .margin-r2

.clear-margin .margin-t2

.clear-margin .margin-b2

.clear-padding .margin-1

.clear-margin .padding-1

.margin-1 .padding-1

● Buttons

● Form

Code without extra class

<input type="text" value="input">

Use .square for hard corners

<input class="square" type="text" value="input .square">

Text area is easy too

<textarea cols="45" rows="5"></textarea>

Use .square for hard corners

<textarea class="square" cols="45" rows="5"></textarea>

● Components

.card

.bg-img

.bg-img-fix

.cover

<div class="full-width height-20 bg-img margin-t1">
<div class="txt-center cover">
<div class="center-v">
<h1 class="white-txt">Hello Hackers!</h1>
</div>
</div>
</div>

.bg-video

<div class="full-width height-40 bg-video">
<video autoplay loop muted poster="images/bg.jpg" id="bgvid">
<source src="videos/bg.webm" type="video/webm">
<source src="videos/bg.mp4" type="video/mp4">
</video>
<div class="txt-center cover">
<div class="center-v">
<h1 class="white-txt">Hello Hackers!</h1>
</div>
</div>
</div>

.flash

.full-width .flash-pri
.full-width .flash-sec
.full-width .flash-ter

.nav-bar

.dropdown

.circle

.round


Created by Yan Hong, 2015