property

webkit mask repeat y — CSS reference

Historical nonstandard per-layer mask repetition on the vertical axis. Values include repeat, no-repeat, space and round, with comma-separated layer values. Prefer standard mask-repeat with two explicit axis values or the repeat-y shorthand; it keeps the orthogonal axis non-repeating in this example.

Formal Syntax & Structure

css syntaxcss
-webkit-mask-repeat-y: repeat;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-mask-repeat-y</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{width:60px;height:60px;background:red;mask-image:linear-gradient(black,black);mask-size:10px 10px;mask-repeat:repeat-y;-webkit-mask-repeat-y:repeat}</style><body><div id="a" role="img" aria-label="Masked strip"></div></body></html>
CSS Reference