Mark Robbins
banner
goodemailcode.com
Mark Robbins
@goodemailcode.com
Email, accessibility, CSS and all that sort of stuff.

Working on cool email stuff at Customer.io
Admin at @emailmarkup.org

Views are largely stolen and passed off as my own.

#EmailGeek
In that case, I'm guessing the inlining was maybe done automatically on send. Some tool do that but there is usually a way to opt out of it.
May 22, 2025 at 3:12 PM
Was it the FFconf email?
Look like it's missing !important to override the inline styles. Easy thing to miss if you are using a CSS inliner.
May 22, 2025 at 12:26 PM
Hmm that should work.
Could also the the selector you are using or the style you are setting. Gmail can also remove an entire style block if there is one thing it doesn't like. Such as a rgb() color using the white space syntax instead of the comma syntax.
May 22, 2025 at 12:11 PM
You can also look at some clever hacky inline stuff like this if you want to get really deep into it.
www.hteumeuleu.com/2016/the-fab...
May 22, 2025 at 11:48 AM
There are also size limits in Gmail, total HTML over 102kb or CSS over 16kb things start to get stripped out.
May 22, 2025 at 11:44 AM
On desktop Gmail the message isn't loaded in an iframe so the media query is bassed on the full width of the viewport.

On mobile they mostly work, however if it's not a google account (not gmail or google workspace) then only inline styles are supported.
May 22, 2025 at 11:43 AM
Thank for shareing!
Always great to see the web world taking an interest in our little corner of email fun.
May 17, 2025 at 1:33 PM
Is this maybe a political statement?

Remove the borders and everyone is equal or something like that?
May 12, 2025 at 5:57 PM
Love this!
Thanks for sharing it 😁
April 26, 2025 at 10:56 AM
Mate, that sucks. Sending love.

You're such a legend you'll land on your feet and smash whatever you end up doing next.

Your @smashingconf.com meets event the other day really inspired me to start playing around with new CSS features again (and then putting all that in an email).
April 13, 2025 at 11:23 AM
Yeah solving those accessibility issues is such a big step. Can't wait to play with it.

Now we just need to talk to Gmail about updating their CSS support 😆
March 20, 2025 at 6:17 PM