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;
    }
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @springernature/global-mq

      Weekly Downloads

      2

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      1.44 kB

      Total Files

      4

      Last publish

      Collaborators

      • ndv3997
      • sndigital
      • rseidelsohn
      • testingsabrina
      • roshandeorukhkar-sn
      • benjclark
      • sonniesedge
      • rlau
      • dotcode
      • joseluisbolos
      • hollsk
      • moddular
      • jpw
      • nickcall
      • howlingmad
      • davidpauljunior
      • morgaan