Linear Gradient - Transparency

To add transparency, we use the rgba() function to define the color stops. The last parameter in the rgba() function can be a value from 0 to 1, and it defines the transparency of the color: 0 indicates full transparency, 1 indicates full color (no transparency).

هشدار: Internet Explorer 9 و نسخه های قبل تر آن از قابلیت گرادینت پشتیبانی نمی کنند