Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

gradient rainbow background css

/* Add below code for adding rainbow background in your css element */

#element {
	background:
        linear-gradient(red, transparent),
        linear-gradient(to top left, lime, transparent),
        linear-gradient(to top right, blue, transparent);
	background-blend-mode: screen;
}
Source by blog.logrocket.com #
 
PREVIOUS NEXT
Tagged: #gradient #rainbow #background #css
ADD COMMENT
Topic
Name
6+1 =