We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to find the picture tag, but It doesn't exist in the Elm html package.
The text was updated successfully, but these errors were encountered:
<picture>
Until this is merged, a work around is to use the attribute function in Html.Attributes.
I compiled but have not tested this example.
import Html.Attributes exposing (..) logo : Html msg logo = a [ img [ src "logo-medium.webp" , attribute "srcset" "/img/logo-small.webp 384w, /img/logo-medium.webp 683w, /img/logo-large.webp 1280w" , attribute "sizes" "(min-width: 2,048px) 1280px, (min-width: 768px) 683px, 25vw" ] [] ]
Sorry, something went wrong.
Yes, Html Node is useful as well.
No branches or pull requests
I try to find the picture tag, but It doesn't exist in the Elm html package.
The text was updated successfully, but these errors were encountered: