HTML and CSS Reference
In-Depth Information
gradient.addColorStop(0, "#000000");
gradient.addColorStop(.5, "#FF0000");
If you fail to add colors with addColorStop() , the text will be rendered
invisible.
The results are shown in Figure 3-9 .
Figure 3-9. Text with linear gradient applied
 
Search WWH ::




Custom Search