Coder Social home page Coder Social logo

lukasdrgon / bootstrap-block-grid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnnythetank/bootstrap-block-grid

0.0 2.0 0.0 26 KB

real block grid for bootstrap

Home Page: http://plnkr.co/qkyOlC

License: MIT License

JavaScript 12.02% CSS 87.98%

bootstrap-block-grid's Introduction

bootstrap-block-grid

block grid library (css & sass) for twitter bootstrap (version 3 & 4), based on the native zurb foundation feature

npm version Bower version

demo

demo on plnkr

usage

  1. Install via either bower, npm, CND or downloaded files:

    1. bower install --save bootstrap-block-grid
    2. npm install --save bootstrap-block-grid
    3. use CDN files from jsdelivr
    4. download bootstrap-block-grid.zip
  2. Add files to your html

    1. when using bower
    <!-- bootstrap 3 -->
    <link rel="stylesheet" href="bower_components/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css">
    <!-- bootstrap 4 -->
    <link rel="stylesheet" href="bower_components/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css">
    1. when using npm
    <!-- bootstrap 3 -->
    <link rel="stylesheet" href="node_modules/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css">
    <!-- bootstrap 4 -->
    <link rel="stylesheet" href="node_modules/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css">
    1. when using CDN files from jsdelivr
    <!-- bootstrap 3 -->
    <link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.block-grid/latest/bootstrap3-block-grid.min.css">
    <!-- bootstrap 4 -->
    <link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.block-grid/latest/bootstrap4-block-grid.min.css">
    1. when using downloaded files
    <!-- bootstrap 3 -->
    <link rel="stylesheet" href="bootstrap3-block-grid.min.css">
    <!-- bootstrap 4 -->
    <link rel="stylesheet" href="bootstrap4-block-grid.min.css">
  3. Sample Markup

    <div class="block-grid-xs-2 block-grid-sm-3 block-grid-md-4">
        <div>
            Content 1
        </div>
        <div>
            Content 2
        </div>
        <div>
            Content 3
        </div>
        <div>
            Content 4
        </div>
        <div>
            Content 5
        </div>
        <div>
            Content 6
        </div>
    </div>

available classes

  • xs
    • block-grid-xs-1
    • block-grid-xs-2
    • ...
    • block-grid-xs-12
  • sm
    • block-grid-sm-1
    • block-grid-sm-2
    • ...
    • block-grid-sm-12
  • md
    • block-grid-md-1
    • block-grid-md-2
    • ...
    • block-grid-md-12
  • lg
    • block-grid-lg-1
    • block-grid-lg-2
    • ...
    • block-grid-lg-12

license

MIT

bootstrap-block-grid's People

Contributors

johnnythetank avatar

Watchers

James Cloos avatar Lukas Drgon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.