This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Standard media queries for use with elm-css
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2018-08-03 09:57:12 UTC
rtfeldman/elm-css 14.0.0 <= v < 15.0.0 14.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

README

Elm-css-breakpoint

A set of standard non-configurable media queries for use with elm-css.

All breakpoints use min-width and match all media types.

Example

import Css.Breakpoint as Breakpoint


viewFooter =
    footer [ css styling.footer ] [ text "Hello World" ]


styling : { footer : List Style }
styling =
    { footer =
        [ width (pct 100)
        , color (hex "FFFFFF")
        , padding (Css.rem 1)
        , Breakpoint.small [ padding (Css.rem 2) ]
        ]
    }