Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages