Giter Site home page Giter Site logo

csswizardry-grids.less's Introduction

csswizardry-grids.less

A LESS port of csswizardry-grids ( originally SASS )

Simple, fluid, nestable, flexible, Sass-based, responsive grid system.

  • Fully responsive
  • Infinitely nestable
  • Endless possible combinations
  • Simple to understand, human-friendly classes
  • Robust
  • Simple
  • No .clear or .last classes
  • It just works

Please see Responsive grid systems; a solution? for a comprehensive overview of the principles of the grid system.

Setup

Simply fill in/adjust the relevant variables.

  • @gutter controls how much space there is between columns.
  • @lap-start and @desk-start tell csswizardry-grids.less when to fire particular media queries to service those particular sizes. Note that csswizardry-grids works out the ends of any other breakpoints by using these numbers.

Basic usage

If you are using traditional classes then an example, basic usage might look like this:

<div class="grid">

    <div class="grid__item  one-whole  lap-one-half  desk-two-thirds">
        ...
    </div>

    <div class="grid__item  one-whole  lap-one-half  desk-one-third">
        ...
    </div>

</div>

Demo

There is a very simple demo which can be found at csswizardry.github.com/csswizardry-grids.

csswizardry-grids.less's People

Contributors

tomjn avatar

Watchers

Chris Da Sie avatar James Cloos 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.