This repository was archived by the owner on Dec 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 188
Support for Repeating-radial/linear-gradient #59
Comments
Can you provide expected input & output? Not sure if we can transform this into classic |
Actually it would be only a matter of adding the corresponding vendor prefixes since it looks like it's supported on Chrome/Safari/Firefox with prefixes. body {
/* spec */
background: repeating-radial-gradient(black 2px, black 0px, white 5px, white 10px);
/* prefixed */
background: -moz-repeating-radial-gradient(black 2px, black 0px, white 5px, white 10px);
background: -webkit-repeating-radial-gradient(black 2px, black 0px, white 5px, white 10px);
background: -o-repeating-radial-gradient(black 2px, black 0px, white 5px, white 10px);
/* spec */
background: repeating-linear-gradient(black 2px, black 0px, white 5px, white 10px);
/* prefixed */
background: -moz-repeating-linear-gradient(black 2px, black 0px, white 5px, white 10px);
background: -webkit-repeating-linear-gradient(black 2px, black 0px, white 5px, white 10px);
background: -o-repeating-linear-gradient(black 2px, black 0px, white 5px, white 10px);
} |
So we should forward that to autoprefixer (poke @ai). |
@eramdam Autoprefixer already adds prefixes to repeating gradients. |
Good to know. Also, only really old browser need prefix http://caniuse.com/#feat=css-repeating-gradients so if you need to scope that you need to adjust your browser scope. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://developer.mozilla.org/fr/docs/Web/CSS/repeating-radial-gradient
https://developer.mozilla.org/fr/docs/Web/CSS/repeating-linear-gradient
The text was updated successfully, but these errors were encountered: