算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
49-html-email-template【设计与创意】Dung khi can FILE HTML email chay duoc tren moi email client — cau truc table, CSS inline, be ngang 600px, dark mode, spec rieng cho Gmail, Outlook, Apple Mail va checklist test truoc khi gui. Mau va font lay tu brand guideline. Kich hoat khi user nhac 'email HTML', 'code email', 'template email', 'email responsive', 'email vo bo cuc tren Outlook', '…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: 49-html-email-template description: "Dung khi can FILE HTML email chay duoc tren moi email client — cau truc table, CSS inline, be ngang 600px, dark mode, spec rieng cho Gmail, Outlook, Apple Mail va checklist test truoc khi gui. Mau va font lay tu brand guideline. Kich hoat khi user nhac 'email HTML', 'code email', 'template email', 'email responsive', 'email vo bo cuc tren Outlook', 'anh trong email khong hien', 'paste vao Brevo bi vo'. Khong dung cho — noi dung va chuoi gui email thi dung skill 14-email-marketing; trang web dat sau nut CTA thi dung skill 12-brief-landing-page; quy dinh mau va font thuong hieu thi dung skill 46-brand-guideline." metadata: version: 1.0.1 category: operations license: MIT triggers:
Email HTML khac website HTML: phai dung table layout, inline CSS, tranh moi thu client khong support. Tieu chi: dep tren Gmail, Outlook, Apple Mail, doc duoc tren mobile 375px — khong co exception. Noi dung va sequence lay tu
14-email-marketing; skill nay lo phan code.
Doc brand guideline (46-brand-guideline) va noi dung email tu 14-email-marketing neu co. Neu thieu, hoi toi da 4 cau:
<style> (chi giu <style> cho media query mobile va dark mode, phan con lai inline het).| Layout | Dung cho |
|---|---|
| Simple 1 cot | Broadcast, nurture — de doc nhat, it loi nhat |
| 2 cot (hinh + text) | Offer email co hinh san pham |
| Newsletter nhieu muc | Digest, update — moi muc 1 block table rieng |
Container: 600px desktop / 100% mobile
Background ngoai: mau xam nhat (vd #F4F4F4)
Background body: [mau nen] (thuong trang)
Font: '[font body]', Arial, Helvetica, sans-serif
Body font-size: 16px / line-height: 1.6
Mobile breakpoint: max-width 480px
Design tokens doc tu brand guideline:
[dia chi], unsubscribe "Ban nhan email nay vi da dang ky tai [website] | Huy dang ky", copyright © [nam] [ten thuong hieu].@media only screen and (max-width: 480px) {
/* container: 100% */
/* body font: 15px */
/* CTA: width 100%, can giua */
/* padding: 24px 20px */
/* image: 100% width */
}
Dark mode:
<meta name="color-scheme" content="light dark"> va <meta name="supported-color-schemes" content="light dark">.@media (prefers-color-scheme: dark) chi duoc ho tro mot phan: Apple Mail ho tro tot; Gmail thuong tu dao mau va bo qua media query; Outlook co the tu invert.{{first_name}} — ten nguoi nhan (doi cu phap theo tool gui){{unsubscribe_link}} — bat buoc phap ly[dia chi cong ty] — dien that[CTA_LINK] — dien link that (kem UTM theo 14-email-marketing)| Client | Dac diem render | Luu y khi code |
|---|---|---|
| Gmail (web/app) | Co the strip <style> trong mot so ngu canh | Inline toan bo CSS; media query co the bi bo qua — layout 1 cot van phai doc duoc |
| Outlook desktop (Windows) | Render bang Word engine | Chi table; khong border-radius, khong background-image day du (dung mau solid thay the); test rieng |
| Apple Mail / iPhone Mail | WebKit, render tot nhat | Ho tro media query + dark mode |
| Yahoo / webmail khac | Ho tro kha, khac nhau tung ban | Gui test that de kiem tra |
| Mobile apps noi chung | Man hinh 375px | Font >= 15px, CTA cao toi thieu 44px de bam bang ngon tay |
14-email-marketing: chien luoc, sequence, noi dung, subject line — viet truoc, code sau.46-brand-guideline: mau, font, logo cho email tokens.47-design-review: review email truoc khi gui (brand + readability + CTA + platform fit).12-brief-landing-page: CTA email thuong tro ve landing page — dong bo message giua 2 ben.