Code Pad
Code
List Code
Search Code
Images
List Images
Search Images
Login
Privacy
Home
linear gradient background with 3 colours
jquery ui datepicker
js
styling css elements based on their attributes
css
animate background gradient css
css
linear gradient background with 3 colours
css
web storage testing
js
load a script based on a page condition variable
jquery
loop through elements and change the content using each and substr with jquery
jquery
mega menu testing
css
basic foundation grid layout
html
linear gradient background with 3 colours
2:27 am, May 7, 2019
using linear gradient to blend more than 2 colours, you can add as many as you want.
Code
html
css
js
scripts
html
css
.three-col-gradient-lines { height:40px; width:100%; background:linear-gradient(to right, #c4d7e6 0, #c4d7e6 33%, #66a5ad 33%, #66a5ad 66%, #ff0000 66%, #ff0000 100%); margin-bottom:10px; } .three-col-gradient-blended { height:40px; width:100%; background: linear-gradient(to right, #000, #66a5ad, #66a5ad, red); margin-bottom:10px; }
js
scripts
Download & Run
Download File
Run Demo
Re-load Preview
Preview
pvIdw