Coder Social home page Coder Social logo

gridify.scss's Introduction

Gridify.scss

Redefine what it means to be a grid.

  • Powered by CSS Grid, the most powerful in CSS layout.

Benefits

  • Absolutely annihilate and exterminate tons of code from your markup.
    • With Gridify.scss, there is no need for bloating classes like .row or .col-sm-8.
  • Run your own show with customizable grids.
    • Why is it always 12 columns? Gridify lets you specify the number of columns you want in your grid.
  • Make responsive design a breeze.
    • Simply call the scss mixin from inside a media query and redefine what it means to be a grid.

Usage

There are two main ways the project could be used.

Recommended Usage

  1. add the mixins file from scss/_gridify-mixins.scss into your project.
  2. Include the gridify() mixin to define a grid container with the desired number of columns, gap sizes, and rows.
  3. Place grid items inside grid using CSS grid-template-areas or grid-column / grid-row
  4. Compile along with the rest of your scss.
  5. Profit from easy layouts!

Other Usage (Not Recommended)

  1. Copy the compiled gridify-dist.css file into your project
  2. Use the pre-defined classes to define a grid container's properties.
  3. Place grid items inside using CSS properties
  4. Profit from easy layouts!

What's included in Gridify.scss?

  • Mixin to declare a grid container with adjustable columns, gap size, and rows.
  • Mixins for testing CSS Grid Support and fallback code

Demo / Testing

An example codepen is available for trying out all the features.

Requirements

Contributions

Please feel free to contribute to the project with suggestions, issues, bug reports, as well as pull requests!

Special Thanks

Future Plans

  • Draggable grid areas (Would require lots of JavaScript)
  • Responsive grid classes.
  • Classes for placing items in a grid.

gridify.scss's People

Contributors

julian-hecker avatar

Watchers

 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.