1.0.6 • Published 11 months ago

sleeck v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Sleeck

Lightweight css framework that makes the first step for you, by some essentials:

  • Grid system.
  • Simple elements reset.
  • Typography.
  • Useful classes (flexbox - spacing - display - text).

Installation

  • Via npm:
npm install sleeck

then import sleeck.css / sleeck.min.css to the main file of your project.

  • Via source:

Just download the sleeck.css / sleeck.min.css from dist folder.

then import sleeck.css / sleeck.min.css to the main file of your project.

Usage

Note:

All classes are available for all screens (xxl - xl - lg - md -sm).

Display:

CSSClass
display: blockd-block
display: inlined-inline
display: inline-blockd-inline-block
display: flexd-flex
display: inline-flexd-inline-flex
display: gridd-grid
display: inline-gridd-inline-grid
display: noned-none

Flexbox:

CSSClass
flex-direction: row column...flex-direction-row
flex-wrap: wrap nowrap...flex-wrap-wrap
justify-content: center...justify-content-center
align-items: center...align-items-center
align-content: center...align-content-center
align-self: center...align-self-center
order: 1 2...order-1

Spacing:

margin and padding values are in rem unit.

the range is 0rem,0.1rem,0.2rem....4.8rem,4.9rem,5rem

CSSClass
margin: 0m-0
margin: 0 0.1remmx-1
margin: 0.2rem 0my-2
margin-top: 4.8remmt-48
margin-bottom: 4.9remmb-49
margin-left: 5remml-50
margin-right: automr-auto
padding: 0p-0
padding: 0 0.1rempx-1
padding: 0.2rem 0py-2
padding-top: 4.8rempt-48
padding-bottom: 4.9rempb-49
padding-left: 5rempl-50
padding-right: autopr-auto

Text:

CSSClass
text-align: center,start...text-align-center
text-transform: none,uppercase...text-transform-uppercase
text-wrap: wrap,nowraptext-wrap-wrap
word-wrap: normal,break-wordword-wrap-break-word

Grid System:

Columns are 12

xssmmdlgxlxxl
col-col-sm-col-md-col-lg-col-xl-col-xxl-
Example:
<div class="container">
  <div class="row">
    <div class="col-12 col-md-6 col-lg-4">
    1
    </div>
    <div class="col-12 col-md-6 col-lg-4">
    2
    </div>
    <div class="col-12 col-md-6 col-lg-4">
    3
    </div>
  </div>
</div>
1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago