GithubHelp home page GithubHelp logo

sgs's Introduction

SGS

Responsive, Fluid, Semantic and Non-Semantic grid system written in stylus

Features

  • Responsive automatic and manual integration
  • Box Sizing with border-box integrated
  • Semantic and Non-semantic mode
  • Gutter, Container and more items are configurable
  • Non-semantic classes are configurable
  • Don't have support for IE7

Starting

Import the sgs.styl file:

@import "path/to/sgs"

Semantic Usage

#1 method

In #1 method, the responsive design has to be made manually.

.my-div
  column(8)
  @media tablet
   column(7)

.my-other-div
  column(4)
  @media tablet
   column(5)

#2 method

In #2 method, the responsive is automatically. Is used @extend stylus method.

.my-div
  @extend .sgs8

.my-other-div
  @extend .sgs4

Non-Semantic Usage

Is used classes from 1 to 12 (max colums configurable) for markup in your html. The sgs prefix name also is configurable.

<div class="container">
    <div class="sgs3">.sgs3</div>
    <div class="sgs3">.sgs3</div>
    <div class="sgs3">.sgs3</div>
    <div class="sgs3">.sgs3</div>
</div>

Credits

sgs's People

Contributors

agtlucas avatar diogomoretti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sgs's Issues

otimo projeto

muito bom cara gostei bastante do projeto parabens

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.