Giter VIP home page Giter VIP logo

antwort's Introduction

Responsive Layouts for Email

Responsive Layouts for Email

Antwort offers responsive layouts for Email that both fits and adapts to client widths. Don't underwhelm desktop users with single column layouts that work for mobile. Antwort offers columns on desktop that automatically become rows on mobile.

Author: Julie Ng (@jng5)
Date: October 2014
Version: 1.0.0

Features

  • Works on mobile: Mail on iOS and Email on Android.
  • Works in major clients like AOL, gmail, outlook.com and Yahoo.
  • Even works in Outlook (2000+).
  • Bulletproof layouts: made with dynamic content in mind.
  • Minimalist in design for maximum customizability.

NEW since v1.0

  • Source templates
    Antwort now includes the source templates (pre inlined CSS) for your reference. This lets you easily customize the template for your own use. Each template has a build.html with inlined CSS as well as the original source files in a source folder.

  • Support for Android 4.3+
    Antwort v0 relied on applying display: block; to <td> to force columns into rows. Starting with Android 4.3, that is no longer possible, i.e. columns remain columns.

    Antwort v1 relies on conditional wrapper tables to support Microsoft Outlook desktop clients. The columns themselves are no longer <td>s but <table>s, whose width expand to 100% on mobile devices.

Included Templates

Included templates as of v1.0.0 release (14 October 2014):

Single Column

Two Columns (text)

Three Columns (images)

Litmus Previews Litmus Previews Litmus Previews

How to use Antwort

Antwort is not a framework. Antwort is meant to teach you how to do responsive layouts for Email. That's why source pre-lined HTML is now included for you to learn from.

Need help?

Before posting an issue, please

  1. Make sure you are sending the email from an Email Service Provider (ESP), for example MailChimp not your Email client e.g. Outlook.
  2. Double check any code changes you might have made
  3. Do a test send to yourself and view the source. Did your ESP change the code?

Changelog

1.0.2

8 July 2015

  • New: removed attribute="" CSS selector syntax now that Yahoo Mail fixed their CSS parser
  • Fixed: Three columns with images: replaced margins with padding to support Outlook.com

1.0.1

3 December 2014

  • Added <meta http-equiv="X-UA-Compatible" content="IE=edge"> to enable media queries on Windows 8 phones

1.0.0

14 October 2014

  • Complete re-write of code, to reflect latest email development challenges, especially with Android 4.3+
  • New: include source folders before inlining CSS.
  • New: single column fluid layout
  • Footer now includes example address, which has an example for removing blue iOS links.

0.1.2

April 2013

  • Fixed issue #8 - headlines no longer centered in Outlook.com and older Outlook.
  • Fixed issue #7 - moved padding overrides to parent <td> in mobile styles.

0.1.1

26 March 2013

  • Fixed column margin issue after Hotmail/Outlook dropped margin support.
  • Issue #5 fixed - Outlook.com parses HTML tags in comments.
  • Issue #3 fixed - control characters removed from template.
  • Added screenshots of current version from Litmus test.

0.1.0

4 Jan 2013

  • Hello open source world.

License

Antwort is provided under the MIT License - see LICENSE.md for full details.

antwort's People

Contributors

fitzgeraldsteele avatar julie-ng avatar kyso avatar lstrojny avatar micxer avatar pablopaul avatar vitorbal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.