- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS3 Multi color Gradients
You can try to run the following code to implement multi-color gradients in CSS3 −
Example
<html> <head> <style> #grad2 { height: 100px; background: -webkit-linear-gradient(red, orange, yellow, red, blue, green,pink); background: -o-linear-gradient(red, orange, yellow, red, blue, green,pink); background: -moz-linear-gradient(red, orange, yellow, red, blue, green,pink); background: linear-gradient(red, orange, yellow, red, blue, green,pink); } </style> </head> <body> <div id = "grad2"></div> </body> </html>
- Related Articles
- CSS3 Multi-Column rule-color Property
- CSS3 Linear gradients
- CSS3 Radial Gradients
- CSS3 Repeat Radial Gradients
- Creating CSS3 Radial Gradients
- CSS3 Transparency and Gradients
- Using the CSS3 Linear and Radial Gradients
- CSS3 Multi-Column Property
- CSS3 rgba color property
- CSS3 HSLA color property
- CSS3 HSL color property
- CSS3 Multi-Column rule-width Property
- CSS3 Multi-Column rule-style Property
- CSS3 Multi-Column column-count Property
- CSS3 Multi-Column column-rule Property

Advertisements