Here’s jay’s example code for color variables. It applies a r font color to the entire document while specifying purple text in a specific module of the email. It also has a fallback or default color of pink. See all of jay’s example code and play around with it on parcel. So again the main purpose of css variables is to ruce repetitive coding in interactive emails. It supports the dry (don’t repeat yourself) approach to coding. To read a more in-depth explanation check out the css tricks guide to custom properties.
Previews in One Place
Another potential use for css variables that jay and i discuss is using them to manage and update brand colors in an email design system. More email coding tips from jay oram: not only is jay oram an awesome email coder b2b email list he’s also a super generous creator of content for email geeks. Here are just a few of the popular articles jay has written for our blog: mia queries demystifi: css min-width and max-width 10 easy ways to improve your mobile email design how to code search bars in email jay was also a presenter at email camp 2022. Watch him live code a click-to-reveal module and hear more about using css variables in interactive emails.
That Allows You to Find and
Plus jay and i recently fac off in a debate over using artificial intelligence for email development. Watch a replay of the webinar email geeks vs. Chatgpt to find out about our thoughts and opinions. Follow @emailjay_ on twitter and reach out to him in the email geeks slack community. And if you’re not already subscrib to weekly emails from action rocket do BI List yourself a favor and sign up right now. When the actionrocket team isn’t using their newsletter for cool inbox experiments like the wordle email they’re delivering an excellent collection of curat content for marketers of all types. While you’re in a subscription mood why not subscribe to emails on acid’s youtube channel?