Skip to content
No description, website, or topics provided.
Elm Nix Shell
Branch: main
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nix init Nov 6, 2019
src/Css
.envrc
.gitignore init Nov 6, 2019
.travis.yml
LICENSE add LICENSE Nov 6, 2019
README.md
ci.sh
elm.json
shell.nix we're not using elm-test Nov 6, 2019
test.sh

README.md

Elm CSS Resets

Some handy resets converted to rtfeldman/elm-css.

Install

elm install BrianHicks/elm-css-reset

Use

import Css.Reset as Reset
import Html.Styled as Html exposing (Html)


view : Model -> Html Msg
view _ =
    [ Reset.meyerV2
    , Reset.borderBoxV201408
      -- your application view stuff here
    ]

Upgrades and Compatibility Policy

Each reset is versioned according to the date it's original creator published it (e.g. Css.Reset.meyerV2 corresponds to the Eric Meyer CSS Reset, version 2.) The Elm definitions of these resets will only change if they're out of sync with the original CSS as linked in the docs.

If you find that the rules produced by this library do not produce the same styles as using the equivalent CSS reset, please open a bug.

Climate Action

I want my open-source activities to support projects addressing the climate crisis (for example, projects in clean energy, public transit, reforestation, or sustainable agriculture.) If you are working on such a project, and find a bug or missing feature in any of my libraries, please let me know and I will treat your issue as high priority. I'd also be happy to support such projects in other ways. In particular, I've worked with Elm for a long time and would be happy to advise on your implementation.

License

This package is licensed under the BSD 3-Clause license, located at LICENSE in the source.

You can’t perform that action at this time.