Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

box-shadow is not working when sending html by email

Tags:

I am using html to send email. Due to the blocking of images by most providers, I'm using box-shadow to draw the image I need. However, in the browser appears normal, but in the email nothing appears. Am I doing something wrong? Any alternative?

</head>
<body style="height: 100%;width: 100%;">
<div class="pixels" style="border-radius: 0;display: inline-block;width: 1px;height: 1px;box-shadow: 0px 0px rgba(228,232,233,1),0px 1px.......;"><p> teste</p>
</div></body>
</html>
like image 495
Mylon Avatar asked Jul 11 '18 18:07

Mylon


1 Answers

A lot of providers don't support box-shadow. List here

like image 94
gabriella-varga Avatar answered Sep 28 '22 17:09

gabriella-varga