Basic example
example.css
background: repeating-linear-gradient(45deg, #e2e8f0 0 8px, #fff 8px 16px);
The repeating-linear-gradient() function tiles a linear gradient infinitely.
background: repeating-linear-gradient(45deg, #e2e8f0 0 8px, #fff 8px 16px);background: repeating-linear-gradient(45deg, #e2e8f0 0 8px, #fff 8px 16px);background: repeating-linear-gradient(45deg, #e2e8f0 0 8px, #fff 8px 16px);repeating-linear-gradient() is a modern CSS feature.
Supported in current major browsers with progressive enhancement.
Bottom line: Keep a readable fallback when using newer syntax.
Continue with image-set().
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful