property
webkit mask repeat x — CSS reference
Historical nonstandard per-layer mask repetition on the horizontal 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-x shorthand; it keeps the orthogonal axis non-repeating in this example.
Formal Syntax & Structure
css syntaxcss
-webkit-mask-repeat-x: repeat;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-mask-repeat-x</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-x;-webkit-mask-repeat-x:repeat}</style><body><div id="a" role="img" aria-label="Masked strip"></div></body></html>