There are a couple important styles to note here. Next, in the header’s style tag you want to define the body style and. First, you want to add a width measurement to the table and add a class called content. To start off, let’s style the body tag and the overall table. Mobile Design Book: A simple responsive email tutorailĮmails are notorious for being hard to work with, it’s one of the reason why we will be using inline CSS styles and embed the remaining CSS in the header of the page. It’s a typical HTML5 mark up with a two cell table in it. Below you can see the HTML skeleton of the email. If you have any experience with responsive web design, the idea is exactly the same! Email Set Upįirst thing first, we need a basic HTML page set up. Then, though the use of media queries, you’d embellish the design to look good on desktop devices as most of them in fact support media queries. Not all mobile devices’ browsers or email apps support media queries it makes more sense to create the email design to fit mobile devices first. It means building the email for mobile devices first, as they are the least advance technology and then elaborating on the email for more capable technologies like desktop applications. If you want to do anything responsive the right way you will need to embrace the progressive enhancement approach. And you can checkout what the Mobile Design Book as well its’ a book I’m currently writing :) Progressive enhancement, for the win! You can check out the Dribbble shot of the redesign. This is an email redesign I did of an email that I have used for Mobile Design Book weekly newsletter. As you can see the email design is very simple, clean and minimal.
For the purpose of this tutorial it will be perfect all I want to make sure is that you are familiar with the concept of responsive emails.
It will provide you a fundamental understanding how responsive emails work.īecause this is a typography based design, the email won’t require much visual differentiation between its desktop and mobile states.
In this quick tutorial I will be going over how to code a simple and minimal typography based responsive email. If you are looking to familiarize yourself with responsive emails this is a perfect place for you.