Skip to content

Stylus mixins to quickly write media queries for adaptative and responsive design

License

Notifications You must be signed in to change notification settings

brindille/stylus-media-queries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylus-media-queries

Stylus mixins to quickly write media queries for adaptative and responsive design

Install

With npm do:

$ npm install stylus-media-queries --save

Usage

@import "../node_modules/stylus-media-queries/index.styl";

+max-screen(800px)
    font-size: 11px;

Mixins

Currently available mixins :

/* Screen sizes */
screen(minWidth, maxWidth)
max-screen(maxWidth)
min-screen(minWidth)
screen-height(minHeight, maxHeight)
max-screen-height(maxHeight)
min-screen-height(minHeight)

/* Pixel density */
hdpi(density)

License

MIT

About

Stylus mixins to quickly write media queries for adaptative and responsive design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages