rtfeldman/elm-css-util/1.0.1

NOTE: this package is not compatible with Elm 0.19.1

Css.Helpers

Utility functions for elm-css.

toCssIdentifier : a -> String

Converts an arbitrary value to a valid CSS identifier by calling toString on it, trimming it, replacing chunks of whitespace with -, and stripping out invalid characters.

identifierToString : a -> b -> String

Converts an arbitrary identifier to a valid CSS identifier, then prepends the given namespace.