function
repeating-radial-gradient() — CSS reference
Repeats the radial stop sequence as concentric bands. The distance between first and last stops defines the period. Use explicit lengths for evenly spaced circles and avoid relying on subpixel ring detail.
Formal Syntax & Structure
css syntaxcss
repeating-radial-gradient(<radial-gradient arguments>)Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS image painting lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}body{background:white} #a{width:100px;height:80px;background-color:blue}#a{background-image:repeating-radial-gradient(circle at center, red 0 5px, blue 5px 10px)}</style><body><div id="a" aria-hidden="true"></div><p>Decorative background sample.</p></body></html>