I can’t find in the docs how to specify a classname that I can use in my
What would I replace
classname with, in the example below, or are classnames specified in a different way?
Html.Styled.div [classname "blog-body"] [Html.Styled.text "content"]
I didn’t use it before, but I would assume
While this works:
Html.Styled.div [Html.Styled.Attributes.style "width" "37em"] [Html.Styled.text "content"]
/* .css file: */
-- elm code
Html.Styled.div [Html.Styled.Attributes.class "blog-body"] [Html.Styled.text "content"]
[Html.Styled.Attributes.name "blog-body"] without success too.
A wild goose chase. Sorry!
The app isn’s using any definitions from the
styles.css that comes with elm-spa.
I no one minds, I’ll delete this whole post.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.