Skip to main content

Outlook 365

Engine: Outlook Web·webmail·Dark mode: Yes

Outlook 365 (web) has significantly better CSS support than Outlook on Windows. It uses a modern rendering engine rather than Microsoft Word, supporting most CSS properties including some flex layouts. However, it still strips certain properties and has its own sanitization quirks.

The primary email client for Microsoft 365 subscribers accessing email via the web. Widely used in enterprise and education environments.

CSS coverage profile for Outlook 365

Outlook 365 renders with the Outlook Web engine and supports 137 of 251 tracked CSS and HTML features fully, with 31 partially supported and 83 unsupported. That places it in a moderate coverage band.

A meaningful portion of CSS is unsupported or partially supported. Plan fallbacks for layout-critical features and validate every template before send.

137

Supported

31

Partial

83

Unsupported

251

Total

Key gotchas in Outlook 365

background-image (on some elements)

Background images work on <td> and <div> but can be stripped on other elements. Test explicitly.

Custom fonts (@font-face)

Outlook 365 supports @font-face but may fall back to system fonts in some configurations.

form elements

Interactive form elements (<input>, <select>, <button>) are stripped for security reasons.

How Outlook 365 renders email

  • Outlook 365 web is effectively a modern browser environment, so most CSS that works in a current Chrome version also works here. Layout systems like flex are honoured, with caveats around form elements.
  • Microsoft injects [data-ogsc] / [data-ogsb] dark-mode attributes onto elements when the user has dark mode active. Use these attribute selectors to override colour decisions without affecting other clients.
  • Conditional comments (<!--[if mso]>) target only the desktop Word renderer — Outlook 365 web ignores them, which is exactly what you want for shared codepaths between modern and legacy Outlook.
  • Custom fonts via @font-face load successfully, but enterprise Office configurations occasionally restrict font fetches by network policy — supply a strong fallback stack regardless.

Dark mode behaviour in Outlook 365

Outlook 365 has robust dark mode support with automatic color inversion. It respects the color-scheme meta tag and applies intelligent inversions. However, it may override explicit background colors — use both CSS and the bgcolor HTML attribute.

QA checklist for Outlook 365

  • Test in light and Outlook's user-toggle dark mode — color overrides applied via data-ogsc selectors only activate in the dark branch.
  • Verify any <form>-based interactive content gracefully degrades — Outlook 365 strips inputs for security.
  • Spot-check enterprise tenants where IT policy may block external resources; design for an offline-friendly first paint.

Related clients

HTML Elements40

FeatureSupport
<abbr>Supported
<acronym>Supported
<address>Supported
<audio>Unsupported
<base>Partial
<bdi>Unsupported
<blockquote>Supported
<body>Partial
<code>Supported
<del>Supported
<dfn>Supported
<dialog>Unsupported
<div>Supported
<form>Partial
<h1>Supported
<hr>Supported
<img>Supported
<link>Unsupported
<marquee>Partial
<meter>Supported
<object>Unsupported
<p>Supported
<picture>Unsupported
<pre>Supported
<progress>Unsupported
<rp>Supported
<rt>Supported
<ruby>Supported
<select>Supported
<small>Supported
<span>Supported
<strike>Supported
<strong>Supported
<style>Supported
<svg>Unsupported
<table>Supported
<textarea>Supported
<ul>Partial
<video>Unsupported
<wbr>Supported

CSS At-Rules5

FeatureSupport
@font-faceUnsupported
@importUnsupported
@keyframesUnsupported
@mediaSupported
@supportsUnsupported

Pseudo-Elements6

FeatureSupport
::afterPartial
::beforePartial
::first-letterPartial
::first-linePartial
::markerUnsupported
::placeholderPartial

Pseudo-Classes & Selectors32

FeatureSupport
:adjacent-siblingSupported
:attribute-selectorPartial
:chainingUnsupported
:checkedPartial
:child-combinatorSupported
:class-selectorSupported
:descendant-combinatorSupported
:first-childPartial
:first-of-typePartial
:focusPartial
:general-siblingSupported
:groupingSupported
:hasUnsupported
:hoverPartial
:id-selectorSupported
:langUnsupported
:last-childPartial
:last-of-typePartial
:linkPartial
:notUnsupported
:nth-childUnsupported
:nth-last-childUnsupported
:nth-of-typeUnsupported
:only-childPartial
:only-of-typePartial
:targetPartial
:type-selectorSupported
:universal-selectorSupported
:visitedPartial
pseudo-class-activePartial
pseudo-class-defaultPartial
pseudo-class-nth-last-of-typeUnsupported

CSS Functions8

FeatureSupport
calcUnsupported
clampUnsupported
conic-gradientUnsupported
fit-contentSupported
linear-gradientUnsupported
maxUnsupported
minUnsupported
radial-gradientUnsupported

CSS Properties160

FeatureSupport
!importantSupported
accent-colorUnsupported
align-itemsSupported
animationUnsupported
aspect-ratioUnsupported
backdrop-filterUnsupported
backgroundSupported
background-blend-modeSupported
background-clipSupported
background-colorSupported
background-imageSupported
background-originSupported
background-positionSupported
background-repeatSupported
background-sizeSupported
bimiUnsupported
block-sizeUnsupported
borderSupported
border-collapseSupported
border-imageUnsupported
border-inlineUnsupported
border-inline-individualUnsupported
border-inline-longhandUnsupported
border-radiusSupported
border-radius-logicalUnsupported
border-spacingSupported
bottomSupported
box-shadowSupported
box-sizingSupported
caption-sideSupported
clearSupported
clip-pathUnsupported
colorSupported
color-schemeUnsupported
column-countSupported
columnsSupported
css-commentsSupported
cursorUnsupported
custom-propertiesUnsupported
directionSupported
displaySupported
display:flexSupported
display:gridSupported
display:noneSupported
empty-cellsSupported
filterUnsupported
flex-directionSupported
flex-wrapSupported
floatSupported
fontSupported
font-familySupported
font-kerningSupported
font-sizeSupported
font-stretchSupported
font-weightSupported
gapPartial
grid-template-columnsUnsupported
heightSupported
hyphenate-characterUnsupported
hyphenate-limit-charsUnsupported
hyphensUnsupported
inline-sizeUnsupported
insetUnsupported
justify-contentSupported
leftSupported
letter-spacingSupported
light-darkUnsupported
line-heightSupported
list-styleSupported
list-style-imageUnsupported
list-style-positionSupported
list-style-typeSupported
marginPartial
margin-block-start-endUnsupported
margin-inline-blockUnsupported
margin-inline-start-endUnsupported
mask-imageUnsupported
max-block-sizeUnsupported
max-heightSupported
max-inline-sizeUnsupported
max-widthSupported
min-block-sizeUnsupported
min-heightSupported
min-inline-sizeUnsupported
min-widthSupported
mix-blend-modeSupported
modern-colorUnsupported
nestingUnsupported
object-fitSupported
object-positionSupported
opacitySupported
orphansSupported
outlineSupported
outline-offsetUnsupported
overflowPartial
overflow-wrapUnsupported
paddingSupported
padding-block-start-endUnsupported
padding-inline-blockUnsupported
padding-inline-start-endUnsupported
positionPartial
resizeUnsupported
rgbSupported
rgbaSupported
rightSupported
scroll-snapUnsupported
shape-marginUnsupported
shape-outsideUnsupported
system-uiSupported
tab-sizeSupported
table-layoutSupported
text-alignSupported
text-align-lastUnsupported
text-decorationSupported
text-decoration-colorSupported
text-decoration-lineSupported
text-decoration-skip-inkUnsupported
text-decoration-styleSupported
text-decoration-thicknessUnsupported
text-emphasisSupported
text-emphasis-positionUnsupported
text-indentSupported
text-justifyPartial
text-orientationSupported
text-overflowSupported
text-shadowUnsupported
text-transformSupported
text-underline-offsetUnsupported
text-underline-positionSupported
text-wrapUnsupported
topSupported
transformUnsupported
transitionUnsupported
unit-chSupported
unit-cmSupported
unit-emSupported
unit-exSupported
unit-inSupported
unit-initialSupported
unit-mmSupported
unit-pcSupported
unit-percentSupported
unit-ptSupported
unit-pxSupported
unit-remSupported
unit-vhSupported
unit-vmaxSupported
unit-vminSupported
unit-vwSupported
user-selectUnsupported
vertical-alignSupported
visibilitySupported
white-spaceSupported
white-space-collapseUnsupported
widowsSupported
widthSupported
word-breakPartial
word-spacingSupported
writing-modeSupported
z-indexSupported

Test your email across all 15 clients

Preview rendering, catch CSS issues, and get actionable fixes — free.

Try Emailens Free

Support data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.