All CSS for buttons is found in the framework. Buttons are made entirely of HTML and CSS and should never be images. The default button is dark gray with white text and a dark gray border.

Note: Our buttons are coded so that the entire area of the button is clickable and not just the text. To make this method work in Outlook Desktop on Windows, it requires a border on the anchor tag. This forces Outlook to render the top and bottom padding and the border radius on the button. Otherwise none of the padding would render and it would lose the appearance of a button.

Examples

HTML

<table border="0" cellpadding="0" cellspacing="0" role="presentation">
	<tr>
		<td align="center" valign="top" class="button">
			<a href="#" target="_blank" class="button-link">Button Text</a>
		</td>
	</tr>
</table>

Rules

Be sure to include the .button and .button-link classes as shown above.

To change the background color, there are helper classes to add after the default .button class: .bg-white and .bg-blue. You must also add in a border class to match the background color that goes in after the .button-link class. The border classes are .border-white and .border-blue (.button-link already has the dark gray border for the default button).

To change the link color, the helper classes are: .gray and .blue. The link color should match the background color of the card, with the exception of a light gray card, where the button text is white.

OVERVIEW

Description

EDS purpose and structure

Instructions

how to use the EDS

Resources

links and information about HTML email

FRAMEWORK

Email Framework

standard email framework

Full-Width Email Framework

used for full-width backgrounds

MOLECULES

App Molecule

download our app and app badges

Basic Molecule

large icon, subheading, body copy and button

LAYOUTS

Columns

how to work with multi-column layouts

Zig-Zag Layout

how to create a zig-zag layout that collapses gracefully on mobile

ADOBE CAMPAIGN

Campaign Shortcodes

shortcodes for Adobe Campaign that import dynamic content or personalization data

Conditional Formatting

how to use if-else formatting to display content

TEMPLATES

Marketing | Content

email template for content marketing

Marketing | Event

email template for event promotion

Marketing | Offer

email template for marketing offer

Newsletter | Digest

email template for digest newsletters

Newsletter | Dynamic

email template for dynamic newsletters

Newsletter | Long-Form

email template for long-form newsletters