
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Usage of repeating-linear-gradient() CSS function
Use the repeating-linear-gradient() method to repeat linear gradient.
Example
You can try to run the following code to implement the repeating-linear-gradient() function in CSS
<!DOCTYPE html> <html> <head> <style> #demo { height: 300px; background: repeating-linear-gradient(green 20%, orange 40%, maroon 40%); } </style> </head> <body> <p>Repeating linear gradient.</p> <div id = "demo"></div> </body> </html>
- Related Questions & Answers
- Usage of linear-gradient() CSS function
- Usage of repeating-radial-gradient() CSS function
- CSS linear-gradient() Function
- Usage of radial-gradient() CSS function
- Repeat a linear gradient with CSS
- Usage of calc() CSS function
- Usage of attr() CSS function
- Usage of var() CSS function
- Usage of rgb() CSS function
- Usage of rgba() CSS function
- Usage of hsl() CSS function
- Usage of hsla() CSS function
- Set a linear gradient as the background image with CSS
- Linear gradient with rainbow color
- Usage of cubic-bezier() CSS function
Advertisements