Giter VIP home page Giter VIP logo

compendious's Introduction

Compendious

A comprehensive, but concise, fluid 6 column grid system.

Each column's class name is prefixed with c, for column, but really because CSS class names cannot begin with a number. The digit that follows indicates which column to place the element in, not the span. To create a span from one column to another simply use a class name containing the start column and the end column separated by a dash (-).

Example

<div class="cf">
	<div class="c1">15%</div>
	<div class="c2">15%</div>
	<div class="c3">15%</div>
	<div class="c4">15%</div>
	<div class="c5">15%</div>
	<div class="c6">15%</div>
	<div class="c1-c2">32%</div>
	<div class="c3-c4">32%</div>
	<div class="c5-c6">32%</div>
	<div class="c1-c3">49%</div>
	<div class="c4-c6">49%</div>
	<div class="c1-c6">100%</div>
</div>

Clearing and Offsets

By using this class naming scheme, both clearing and offsets can be handled automagically.

<div class="cf">
	<div class="c2">15%</div>
	<div class="c5">15%</div>
	<div class="c3-c4">32%</div>
	<div class="c2">15%</div>
	<div class="c5">15%</div>
</div>

Compatibility

The [attr|="name"], [attr$="name"], and adjacent sibling (+) selectors are not supported by Internet Explorer 6.

Inspiration

compendious's People

Contributors

spencerbaynton avatar

Watchers

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