Gmail will now support CSS media queries
googleappsdeveloper.blogspot.com
Gmail will now support CSS media queries
1–10 of 70 posts
Re: Gmail will now support CSS media queries
#2Does anyone know why it took them so long to do this?
Re: Gmail will now support CSS media queries
#3I would just love to see an update to the Gmail app on iOS - very far behind Outlook imho.
Re: Gmail will now support CSS media queries
#4Does anyone know why it took them so long to do this?
I'm going to guess they didn't think it would affect their bottom line too much. This was never a priority for Google.
Re: Gmail will now support CSS media queries
#5I would just love to see an update to the Gmail app on iOS - very far behind Outlook imho.
I don't know what you're looking for in an email client, but Gmail's future is the Inbox app.
Re: Gmail will now support CSS media queries
#6Does anyone know why it took them so long to do this?
I'd bet part of it was making sure that it wouldn't leak information. They've spent a good deal of time on that in the past few years (images in email are fetched by google, rather than your browser). If done incorrectly it could be used to help fingerprint the email client in some way (screen size, which queries are listened to, etc.) which could enable another email to be sent that attacks a vulnerable device (think stagefright like media attack).
Re: Gmail will now support CSS media queries
#7This is mostly a distraction, but I still wish text/enriched had won instead of HTML email: https://en.wikipedia.org/wiki/Enriched_text
If only because it's simpler, so it might have been more fully and consistently supported (and it's not a security nightmare).
Re: Gmail will now support CSS media queries
#8Does anyone know why it took them so long to do this?
They've historically been very restrictive about what they do and don't allow in emails—iirc, they even stripped CSS blocks entirely until recently. Even now they only accept a specific list of properties, selectors, and queries.[1] My impression is it's broadly in the name of security: if you allow arbitrary content inside a Google webpage, it's easy to imagine phishing running amok.
Re: Gmail will now support CSS media queries
#9Url changed from https://gmail.googleblog.com/2016/09/better-emails-tailored-..., which points to this, which is more specific.
Re: Gmail will now support CSS media queries
#10This is mostly a distraction, but I still wish text/enriched had won instead of HTML email: https://en.wikipedia.org/wiki/Enriched_text If only because it's simpler, so it might have been more fully and consistently supported (and it's not a security nightmare).
Regarding the example in the Wiki page: Is it possible to use hex colors codes or rgb color codes? The example uses color name.