1.1.1 • Published 7 years ago

simple-media-queries v1.1.1

Weekly downloads
118
License
MIT
Repository
github
Last release
7 years ago

Simple media queries npm

This repository contains SCSS-mixins which allow you to easily use media queries in SCSS. With this approach, you don't override previous defined code, but only target the desired screenrange.

The mixins

.selector {
  // Include general theming here
  
  @include down(600) {
    // Theming for small screens here
  }

  @include between(600, 1200) {
    // Theming for screens between 600px and 1200px here 
  }

  @include up(1200) {
    // Theming for big screens here
  }

  @include outside(600, 1200) {
    // Theming for screens below 600px and above 1200px 
  }
}

Codepen-demo

1.1.1

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago