Giter Club home page Giter Club logo

lagrille.js's Introduction

laGrille.js

Ajoute une grille (colonnes avec des gouttières (facultatif)) sur votre page web (comme inDesign)

écran

usage:

<script src="js/laGrille.js" charset="utf-8"></script>

dans <script>

const grille = laGrille.draw({'column':8.5, 'margin':0, 'gutter':0,'level':"down"});
  • column: Nombre de colonnes. Si valeur est "x.5", la grille contient "x" colonnnes + une demi de chaque coté.
  • gutter: Gouttière entre les colonnes. Par défaut en px, accepte une String unités en, 'em', 'rem', 'vh' ou 'vw';
  • margin: Marge en Number en px, accepte une String unités en, 'em', 'rem', 'vh' ou 'vw';
  • level: "down" ou "down", crée le canvas en dessous ou au dessus de tout. Par défaut: "up";
  • color: Couleur désignée en propriété css. Par défaut: 'rgba(0,176,228,.33)'
  • colorM: Couleur désignée en propriété css. Par défaut: 'rgba(255, 100, 217,.33)',

lagrille.js's People

Contributors

mrbbp avatar

Watchers

 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.