Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use gradients in emails?

Is it possible to use gradients on elements in newsletter emails, using CSS? Is the full property supported?

like image 708
vijai shukla Avatar asked Dec 19 '12 15:12

vijai shukla


People also ask

Can you use gradients in emails?

Gradients are incredibly versatile and a great way to add depth to an email design. They can be attention-grabbing with contrasting colors, or used as a subtle enhancement with the use of tones and tints.

Does Outlook support gradient?

Unfortunately, Outlook does not support linear-gradients.

Can we apply gradient on text?

To add a gradient overlay to a text element, we need to set three different CSS properties to the text we want to style: background-image: <gradient> background-clip: text. text-fill-color: transparent.

How do I make the background of my email a different color?

Add a background color, gradient, texture, pattern, or picture. Begin writing your message, and then click Options > Page Color. Pick a color, or click More Colors to get more options. To remove the color, click No Color.


1 Answers

In short, no.

Email clients very rarely support HTML5 or CSS3, and so it will break in any clients that don't.

You could always have a fallback, but the load time won't change too much, and adding CSS3 simply adds more code to keep track of.

I would recommend using image tags and hosting the images on your server, and that's if you really have to use gradients at all.

With email, generally the simpler the better. Personally, I prefer recieving plain text.

like image 91
Alfo Avatar answered Sep 19 '22 04:09

Alfo