jinjor/elm-inline-hover

An utility for using :hover by inline style


License
BSD-3-Clause
Install
elm-package install jinjor/elm-inline-hover 1.0.1

Documentation

elm-inline-hover

Build Status

An utility for using :hover by inline style.

How to use

Just insert hover [("whatever", "styles"), ("you", "like")] before Html nodes.

main =
  ul []
    [ hover styles li [] [ text "Hello" ]
    , hover styles li [] [ text "World" ]
    ]

styles =
  [("background", "#abd")]

That's it!

License

BSD3