y047aka / elm-reset-css / Css.Reset

Compile it with your elm-css code.

module Main exposing (main)

import Browser
import Css.Global
import Css.Reset
import Html.Styled exposing (..)


main : Program Never Model Msg
main =
    Browser.sandbox
        { init = init
        , update = update
        , view = view >> Html.Styled.toUnstyled
        }

...

view : Model -> Html.Styled.Html Msg
view model =
    div []
        [ Css.Global.global Css.Reset.sanitize
        , header [] [ text "My site." ]
        , main_ []
            [ article []
                [ h1 [] [ text "Title" ]
                , text "My contents."
                ]
            ]
        , footer [] [ text "©2021 y047aka" ]
        ]

ericMeyer : List Css.Global.Snippet

html5Doctor : List Css.Global.Snippet

normalize : List Css.Global.Snippet

sanitize : List Css.Global.Snippet

ress : List Css.Global.Snippet

destyle : List Css.Global.Snippet

theNewCssReset : List Css.Global.Snippet

erc_HardReset : List Css.Global.Snippet

erc_Normalize : List Css.Global.Snippet