A simple responsive css framework, learn from Bootstrap
min.gz: 1.94kb
- 🦄 Grid Layout
- 🌈 Responsive Grid Layout
- 🎨 Support Gutter、Nesting、Offset、Order、Align
- 👀 Support Customization
npm install melongrid.css
Import melongrid.css
into your project
import 'melongrid.css'
Add link into your .html
file
<link rel="stylesheet" href="https://unpkg.com/melody.css">
git clone
the repository, modify src/melonGrid.styl
file, customize the variable setting part
$colnums = 12 // columns number
$gutter = 15px // columns gutter
$sm = 576px // media breakpoint
$md = 768px
$lg = 992px
$xl = 1200px
$smw = 540px // container width
$mdw = 720px
$lgw = 960px
$xlw = 1140px
$sizes = sm md lg xl // className eg: .col-sm-1 .col-md-1
npm install
install project devDependencies, run npm run build
pack your own MelonGrid.css in build/
Copyright (c) 2018 BrezyMelon