-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
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
Phantom types: background-repeat #411
Phantom types: background-repeat #411
Conversation
src/Css.elm
Outdated
, unset : Supported | ||
} | ||
-> Style | ||
backgroundRepeat2 (Value repeat) = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might've missed an argument here? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haaaaaaaaaaaaa yeah
src/Css.elm
Outdated
|
||
|
||
{-| [Repeat a background](#backgroundRepeat) side to side. | ||
-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On these Value
docs, can we get links to https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat#Values and mention that this compiles to the "repeat-x"
value in CSS? (Similar to this, for example.)
Code examples would also be great, even if they're copy/pasted from the background
docs. 😄
backgroundRepeat2 space round | ||
|
||
If you only need to set one value for both, see | ||
[`backgroundRepeat`](#backgroundRepeat) instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the explanation and linking between backgroundRepeat
and backgroundRepeat2
! 😍
did! |
Wonderful! Thank you @BrianHicks! 😻 |
This adds
background-repeat
Progress on my bits of #392