New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

blueq

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blueq

A collection of Sass mixins and functions for generating media queries and managing breakpoints

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

blueq

blueq is a collection of Sass mixins and functions for generating media queries and managing breakpoints

It is developed and maintained internally at bluegrassdigital, but feel free to contribute!

Installation

npm install blueq

Example usage

@import 'blueq/main.scss';

$blueq-breakpoints: (
  s: 320px,
  m: 576px,
  l: 768px,
  xl: 1024px,
  xxl: 1200px
);

// Min width media query
.foo {
  @include blueq-min('l') {
    width: 50%;
    float: left;
  }
}

// Max width media query
.foo {
  width: 50%;
  float: left;
  @include blueq-max('l') {
    width: auto;
    float: none;
  }
}
// Output
// Max width queries are adjusted by 1px, pass false as the second mixin argument to disable
@media (max-width: 767px) { 
  .foo {
    width: 50%;
    float: left;
  }
}

// Min and max width media queries
.foo {
  @include blueq-minmax('l', 'xxl') {
    width: 50%;
    float: left;
  }
}

API

See API docs

Contributing to nestable-grid

Github Flow - branch, submit pull requests

Keywords

sass

FAQs

Package last updated on 25 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts