Code Monkey home page Code Monkey logo

less-plugin-skeleton's Introduction

less-plugin-skeleton

Imports Skeleton Less code) before your custom Less code. Skeleton is a simple, responsive boilerplate to kickstart any responsive project. Check out http://getskeleton.com for documentation and details.

lessc usage

Install..

Requires Less v2.4.0

npm install -g less-plugin-skeleton

and then on the command line,

lessc file.less --skeleton

Media Queries

Note: The best way to structure the use of media queries is to create the queries near the relevant code. For example, if you wanted to change the styles for buttons on small devices, paste the mobile query code up in the buttons section and style it there.

Example:

@media (min-width: @bp-larger-than-mobile) {
.button,
button {
  height: 24px;
  padding: 0 15px;
}  
}

avaible Media Queries:

/* Larger than mobile */
@media (min-width: @bp-larger-than-mobile) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: @bp-larger-than-phablet) {}

/* Larger than tablet */
@media (min-width: @bp-larger-than-tablet) {}

/* Larger than desktop */
@media (min-width: @bp-larger-than-desktop) {}

/* Larger than Desktop HD */
@media (min-width: @bp-larger-than-desktophd) {}

Programmatic usage

var Skeleton = require('less-plugin-skeleton'),
    SkeletonPlugin = new Skeleton();
less.render(lessString, { plugins: [SkeletonPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.

less-plugin-skeleton's People

Contributors

bassjobsen avatar

Stargazers

Shawhurst Digital avatar tg-z avatar Viacheslav Shabelnyk avatar

Watchers

James Cloos avatar  avatar Viacheslav Shabelnyk avatar

Forkers

gld1982ltd

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.