MailViewr - Free HTML Email Preview Tool

Gmail

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

102
Supported
0
Partial Support
108
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

@media (orientation)

css

background-blend-mode

css

background-clip

css

background-color

css

background-image

css

background-origin

css

background-position

css

background-repeat

css

background-size

css

background

css

border-collapse

css

border-radius

css

border-spacing

css

border

css

box-sizing

css

caption-side

css

clear

css

column-count

css

css column properties

css

CSS comments

css

direction

css

display:flex

css

display:grid

css

display:none

css

display

css

empty-cells

css

float

css

font-kerning

css

font-size

css

font-stretch

css

font-weight

css

font shorthand

css

clamp()

css

max()

css

min()

css

height property

css

fit-content, min-content, max-content

css

letter-spacing

css

line-height

css

linear-gradient()

css

list-style-position

css

list-style-type

css

max-height property

css

max-width

css

min-height property

css

min-width property

css

mix-blend-mode

css

object-fit

css

object-position

css

opacity

css

outline

css

overflow

css

padding

css

:hover

css

radial-gradient()

css

Adjacent sibling combinator

css

Chaining selectors

css

Child combinator

css

Class selector

css

Descendant combinator

css

General sibling combinator

css

Grouping selectors

css

ID selector

css

Type selector

css

Universal selector *

css

system-ui, ui-serif, ui-sans-serif, ui-rounded, ui-monospace

css

table-layout

css

text-align-last

css

text-align

css

text-decoration-color

css

text-decoration-line

css

text-decoration-style

css

text-decoration-thickness

css

text-decoration

css

text-emphasis

css

text-orientation

css

text-overflow

css

text-transform

css

text-underline-position

css

CSS calc() function

css

ch unit

css

cm unit

css

em unit

css

ex unit

css

in unit

css

initial unit

css

mm unit

css

pc unit

css

% unit

css

pt unit

css

px unit

css

rem unit

css

vh unit

css

vmax unit

css

vmin unit

css

vw unit

css

vertical-align

css

white-space

css

width property

css

word-break

css

word-spacing

css

writing-mode

css

Not Supported

108 CSS features are not supported by Gmail.

Show 108 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

@media

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

box-shadow

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

gap, column-gap, row-gap

css

grid-template-* properties

css

hyphenate-character

css

hyphenate-limit-chars

css

hyphens

css

!important keyword

css

inline-size

css

inset

css

justify-content

css

left, right, top, bottom

css

list-style-image

css

list-style

css

margin-block-start & margin-block-end

css

margin-inline & margin-block

css

margin-inline-start & margin-inline-end

css

margin

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

rgb()

css

rgba()

css

scroll-snap

css

Attribute selector

css

shape-margin

css

shape-outside

css

tab-size

css

text-decoration-skip-ink

css

text-emphasis-position

css

text-indent

css

text-justify

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

word-wrap

css

z-index

css