Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
The repeating-linear-gradient function allows us to define a repeating radial or linear gradient as a CSS image. This can be used to create gradients that don’t repeat when rotated.
CSS Images Module Level 3 # repeating-gradients
/* A repeating gradient tilted 45 degrees, starting blue and finishing red, repeating 3 times */
repeating-linear-gradient(45deg, blue, red 33.3%);
/* A repeating gradient going from the bottom right to the top left, starting blue and finishing red, repeating every 20px */
repeating-linear-gradient(to left top, blue, red 20px);
/* A gradient going from the bottom to top, starting blue, turning green after 40%, and finishing red. This gradient doesn't repeat because the last color stop defaults to 100% */
repeating-linear-gradient(0deg, blue, green 40%, red);
/* A gradient repeating five times, going from the left to right, starting red, turning green, and back to red */
repeating-linear-gradient(to right, red 0%, green 10%, red 20%);
browser-support.css
Source:browser-support.css
Browser Support For Android Browser Versions
Browser Support For Opera Mobile Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS Repeating Gradients and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!