Gmail

Gmail is one of the most popular email clients. Gmail supports many modern CSS features on desktop, web, mobile, and through apps.

43
Supported
71
Partial Support
96
Not Supported

About Gmail

Gmail is one of the most popular email clients in the world, with over 1.5 billion users. It powers both webmail and native mobile apps on iOS and Android. Gmail's CSS support is reasonably modern compared to other email clients, though it still has some limitations.

CSS & Design Tips

  • Gmail strips out font-face declarations and embedded stylesheets in some cases; use inline styles when possible
  • Gmail supports media queries on desktop webmail, making responsive emails possible
  • The mobile app has better CSS support than the webmail version in some cases
  • Gmail does not support CSS floats reliably; use display: inline-block or flexbox alternatives
  • Background images work but may not display consistently in all Gmail environments

Best Practices

When designing for Gmail, always test your emails in the actual client before deployment. CSS support can vary between versions and platforms. Use progressive enhancement techniques and provide solid fallbacks for unsupported features.

Supported Features

Partial Support Features

Not Supported

96 CSS features are not supported by Gmail.

Show 96 unsupported features

accent-color

css

align-items

css

animation

css

aspect-ratio

css

@font-face

css

@import

css

@keyframes

css

@media (-webkit-device-pixel-ratio)

css

@media (hover), @media (any-hover)

css

@media (prefers-color-scheme)

css

@media (prefers-reduced-motion)

css

@supports

css

backdrop-filter

css

block-size & inline-size

css

border-image

css

border-inline & border-block individual logical properties

css

border-inline & border-block longhand properties

css

border-inline & border-block

css

border-radius logical properties

css

clip-path

css

color-scheme CSS property

css

conic-gradient()

css

cursor

css

filter

css

flex-direction:column

css

flex-wrap: wrap

css

light-dark()

css

grid-template-* properties

css

hyphenate-character

css

hyphenate-limit-chars

css

hyphens

css

inline-size

css

inset

css

justify-content

css

left, right, top, bottom

css

list-style-image

css

margin-block-start & margin-block-end

css

margin-inline & margin-block

css

margin-inline-start & margin-inline-end

css

mask-image

css

max-block-size

css

max-inline-size

css

min-block-size

css

min-inline-size

css

lch(), oklch(), lab(), oklab()

css

CSS Nesting

css

orphans

css

outline-offset

css

overflow-wrap

css

padding-block-start & padding-block-end

css

padding-inline & padding-block

css

padding-inline-start & padding-inline-end

css

position

css

:active

css

:checked

css

:first-child

css

:first-of-type

css

:focus

css

:has()

css

lang()

css

:last-child

css

:last-of-type

css

:link

css

:not

css

:nth-child

css

:nth-last-child

css

:nth-last-of-type

css

:nth-of-type

css

:only-child

css

:only-of-type

css

:target

css

:visited

css

::after

css

::before

css

::first-letter

css

::first-line

css

::marker

css

::placeholder

css

resize

css

scroll-snap

css

shape-margin

css

shape-outside

css

tab-size

css

text-decoration-skip-ink

css

text-emphasis-position

css

text-shadow

css

text-underline-offset

css

text-wrap

css

transform

css

transition

css

user-select

css

CSS Variables (Custom Properties)

css

visibility

css

white-space-collapse

css

widows

css

z-index

css