This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
CSS support data and prefixes
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-03-09 14:24:38 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

README

CSS.Support

A combination of the CSS-related data from caniuse.com and all the standardized CSS properties. Find out what the browser support is for CSS properties, check if a browser has support for a CSS property, etc.

How to use

import Css.Support.Data exposing (Browser(Chrome), Version(..))


Css.Support.forTarget "flex" (Chrome, VersionNumber 22)
--> SupportedWithPrefix


Css.Support.compatible "flex" { includePartialSupport = True }
--> Just
-->   [
-->     { browser = Chrome
-->     , note = ..., support = PartiallySupportedWithPrefix
-->     , version = VersionNumber 4
-->     }
-->   , { browser = Chrome,
-->     , note = ...
-->     , support = SupportedWithPrefix
-->     , version = VersionNumber 21
-->     }
-->   , { browser = Chrome
-->     , note = ...
-->     , support = Supported
-->     , version = VersionNumber 29
-->     }
-->   ]


Css.Support.Data.prefixFor Chrome
--> "webkit"

More information can be found in the documentation.

Development

brew install node
brew install haskell-stack
brew install elm@0.18

stack build :generator
stack exec generator

npm test

elm-make --docs=documentation.json