Object fit in outlook

0

I'm using the property css object-fit: cover; for an email bulletin, outlook removes this property How can I use it?

I can not use the image as a background of the div they ask me as a separate image. Thanks.

    
asked by Lina Cortés 09.02.2018 в 14:46
source

1 answer

0

The truth is that it is not possible to use that property in mail clients , nor is there a way to emulate this property in a practical or equal way, since for security reasons many of these block Many features of html5 and css3.

I recommend you look at this technical compatibility list in mailing design , published by MailChimp to make sure you can use it or not, if the property or item you're looking for is not on the list, you can not use it.

It is best to use a framework like ink from foundation or emailframe.work . Now, if you have a minimum knowledge in HTML and CSS layout, it is best to learn to use tables for layout (in email it is still valid, even if now it is a bad practice for the web) or download some mail template and modify it.

    
answered by 09.02.2018 / 15:02
source