Nighttime Pachinko Marathon
Miss any of our Open RFC calls?Watch the recordings here! »

This package has been deprecated

Author message:

https://github.com/springernature/frontend-toolkits/blob/master/DEPRECATED.md

@springernature/global-mq

1.0.0 • Public • Published

Media Query

This module makes available the Breakpoint mixin, for dealing with media queries.

You need to install breakpoint-sass version 2.0.0 or higher at the same level as this component e.g.

"devDependencies"{
  "@springernature/global-mq": "^1.0.0",
  "breakpoint-sass": "^2.0.0"
}

Examples

.c-yourcomponent {
    color: plum;

    @include global-mq('500px') {
        color: hotpink;
    }
}

Install

npm i @springernature/global-mq

DownloadsWeekly Downloads

90

Version

1.0.0

License

MIT

Unpacked Size

1.44 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar