How to Build a Custom Email with Foundation for Emails
Building email layouts are down right hard. Building responsive messages is considerably harder.
Fortunately, the kind people over at Zurb have built up a fabulous structure that makes the way toward building responsive messages less demanding than it has ever been some time recently.
Establishment for Emails (in the past Ink) is a system tailor fit for a cutting edge creator/engineer hoping to utilize the apparatuses and advances of today to assemble responsive email layouts for tomorrow.
THE NUMBERS DON’T LIE
As indicated by Zurb, 54% of messages are opened on a cell phone and this number is probably going to rise. With that figure set up, the requirement for a responsive email layout is an unquestionable requirement. Zurb additionally expresses that 75% of Gmail clients get to their record from their cell phone.
Regardless of the kind of email sent, Foundation for Emails has you secured. Truth be told, once you dispatch their helpful venture developer you are welcomed with test layouts to either reference or modify to your heart’s substance.
All through this article, I will demonstrate to you generally accepted methods to get up and running with Foundation for Emails utilizing a custom format I intended for my own particular little marking office. Likewise with any structure, it’s basic for you to reference the documentation. I won’t go over everything about Zurb as of now has however this guide will be sufficient for you to get straight down to business.
You can locate the last source code to this venture on GitHub.
To start you can pick into utilization customary CSS or Sass. I’ll be making utilization of Sass.
There are many reasons I prescribe going this course instead of customary CSS. These reasons include:
- More control over the structure’s visual styles
- A full form handle including Sass gathering and picture pressure
- A custom HTML dialect is known as inky which implies you don’t need to compose table based formats by hand.
- An implicit inline for conveying your CSS as inline CSS
- Live reloading
- Handlebars templating
Note – The Sass rendition requires Node.js to run. Make sure to introduce it before going ahead.