參考內容推薦

CSS Support | Gmail

You can style email sent to Gmail using inline <style> blocks and standard CSS. Most CSS selectors, attributes, and media-queries are supported.

Email CSS: Your Guide to Getting Started

3 smart approaches to using CSS in HTML email · 1. Use inline CSS for styling · 2. Use video, background images, and CSS animations only when they add value.

CSS in HTML Email

CSS will work in HTML email but it has limitations. In general, keeping your CSS basic is always best when custom-coding an email.

Email CSS: Do's and Don'ts

An HTML email with inline CSS virtually causes no rendering issues for email clients. Now generally, inline CSS is a “bad idea” since it lacks ...

CSS in HTML emails: What you need to know to get started

If you are set on using CSS, your best bet is to use inline code. This is the most effective and widely used method for including CSS in HTML emails. According ...

Using additional css classes in email markup - html

Usually, email requires inline styles--otherwise it will work sparingly (check here for support among clients). Try using a CSS inliner like https://inliner.cm ...

CSS Support Guide for Email Clients [+Checklist]

A complete breakdown of the CSS support for the most popular mobile, web and desktop email clients on the planet.

Class selector

The class selector ( .className ) allows to apply styles to a group of elements with the corresponding class attribute.

Email Template CSS Classes

Courier lets you style email templates using inline CSS and standardized class names. Customize blocks, headers, footers, and text elements.

How to use css class within the Email Script used

You can write the template using your mail script and add the class as needed. Now in your email template source code try to add your content from the ...

emailcssclass

YoucanstyleemailsenttoGmailusinginline