DiscoveryVIP / HTML & CSS AcademyHelp

Interactive HTML element and CSS property reference

The HTML reference describes meaning, context and native interaction. The CSS reference contains 235 property experiments with Mozilla’s official grammar, initial-value and inheritance metadata. Data fetched 2026-11-18, licensed under MPL-2.0; bundled license is included. Browser support is checked in your actual browser and still needs target-device verification. Metadata is not a claim that every property works in every browser.

Mozilla CSS metadata source · W3C accessibility guidance

HTML: <html>

The root of an HTML document, with its content language.

Attributes and context
lang="en"
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><title>A complete page</title></head><body><h1>Root document</h1></body></html>
Load Editable Element Example Official reference
HTML: <head>

The metadata container rather than visible page content.

Attributes and context
none required
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><title>Metadata example</title><meta charset="utf-8"></head><body><h1>Visible content</h1></body></html>
Load Editable Element Example Official reference
HTML: <body>

The visible and interactive document content.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Body content</h1><p>The browser places this in the document body.</p>
Load Editable Element Example Official reference
HTML: <title>

The document title used in browser UI and navigation.

Attributes and context
text content
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><title>Specific page — Field Notes</title></head><body><h1>A title is not a body heading</h1></body></html>
Load Editable Element Example Official reference
HTML: <meta>

Metadata such as character encoding, description or viewport configuration.

Attributes and context
charset OR name/content as appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><meta name="description" content="A concise page summary."><title>Metadata</title></head><body><h1>Metadata practice</h1></body></html>
Load Editable Element Example Official reference
HTML: <link>

A relationship to an external resource such as a stylesheet.

Attributes and context
rel and href for a stylesheet
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><link rel="stylesheet" href="styles.css"><title>Linked styles</title></head><body><h1>External stylesheet</h1></body></html>
Load Editable Element Example Official reference
HTML: <style>

An internal stylesheet, normally in the document head.

Attributes and context
CSS text
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<!doctype html><html lang="en"><head><title>Internal style</title><style>p { border-inline-start:4px solid #234f9b; padding:1rem; }</style></head><body><p>Styled in the document head.</p></body></html>
Load Editable Element Example Official reference
HTML: <h1>

The highest-level heading for a page topic.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Workshop handbook</h1><p>A principal heading introduces the page.</p>
Load Editable Element Example Official reference
HTML: <h2>

A second-level heading for a major subsection.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Handbook</h1><section><h2>Getting started</h2><p>A named section.</p></section>
Load Editable Element Example Official reference
HTML: <h3>

A third-level heading within a subsection.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Handbook</h1><h2>Files</h2><h3>HTML source</h3><p>Document content.</p>
Load Editable Element Example Official reference
HTML: <h4>

A fourth-level heading in a genuinely deeper hierarchy.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Guide</h1><h2>Part</h2><h3>Chapter</h3><h4>Detail</h4><p>Use depth only when needed.</p>
Load Editable Element Example Official reference
HTML: <h5>

A fifth-level heading, not a shortcut for small text.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Outline</h1><h2>Two</h2><h3>Three</h3><h4>Four</h4><h5>Five</h5>
Load Editable Element Example Official reference
HTML: <h6>

A sixth-level heading for the deepest native heading level.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Outline</h1><h2>Two</h2><h3>Three</h3><h4>Four</h4><h5>Five</h5><h6>Six</h6>
Load Editable Element Example Official reference
HTML: <p>

A paragraph of prose.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>One idea belongs in a coherent paragraph.</p><p>A second paragraph develops another idea.</p>
Load Editable Element Example Official reference
HTML: <a>

A hyperlink with a meaningful destination and link text.

Attributes and context
href; rel/target when relevant
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<a href="#destination">Read the destination</a><section id="destination"><h1>Destination</h1></section>
Load Editable Element Example Official reference
HTML: <strong>

Strong importance rather than merely bold appearance.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p><strong>Important:</strong> keep a recovery copy before replacing files.</p>
Load Editable Element Example Official reference
HTML: <em>

Stress emphasis within prose.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Change <em>one</em> property before comparing.</p>
Load Editable Element Example Official reference
HTML: <b>

Text brought to attention without stronger semantic importance.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p><b class="keyword">Grid</b> is the keyword in this index entry.</p>
Load Editable Element Example Official reference
HTML: <i>

Alternate voice or conventional text such as a technical term.

Attributes and context
lang when language changes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>The term <i lang="la">in situ</i> has a specific contextual meaning.</p>
Load Editable Element Example Official reference
HTML: <small>

Side comments or small print, not arbitrary small body text.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Workshop registration</p><small>Sample information for learning only.</small>
Load Editable Element Example Official reference
HTML: <mark>

A highlighted passage relevant to the current context.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>The search result matches <mark>responsive design</mark>.</p>
Load Editable Element Example Official reference
HTML: <abbr>

An abbreviation with an optional expansion.

Attributes and context
title optional; provide a visible expansion when needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p><abbr title="Cascading Style Sheets">CSS</abbr> controls presentation.</p>
Load Editable Element Example Official reference
HTML: <time>

A machine-readable date or time with human-readable content.

Attributes and context
datetime in a valid date/time format
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Workshop: <time datetime="2026-12-01">December 1, 2026</time></p>
Load Editable Element Example Official reference
HTML: <code>

A fragment of computer code.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Use <code>gap: 1rem</code> to separate layout items.</p>
Load Editable Element Example Official reference
HTML: <pre>

Preformatted text whose whitespace is meaningful.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<pre><code>h1 {
  color: royalblue;
}</code></pre>
Load Editable Element Example Official reference
HTML: <kbd>

User input such as a keyboard command.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Press <kbd>Tab</kbd> to move to the next control.</p>
Load Editable Element Example Official reference
HTML: <samp>

Sample output from a program.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Expected output: <samp>Preview ready</samp></p>
Load Editable Element Example Official reference
HTML: <var>

A variable in an expression or explanation.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Outer width equals <var>content</var> plus padding and borders under content-box sizing.</p>
Load Editable Element Example Official reference
HTML: <sub>

Subscript text such as a chemical formula.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Water is H<sub>2</sub>O.</p>
Load Editable Element Example Official reference
HTML: <sup>

Superscript text such as an exponent.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>The area is measured in m<sup>2</sup>.</p>
Load Editable Element Example Official reference
HTML: <br>

A meaningful line break, not a paragraph-spacing tool.

Attributes and context
void element; no closing tag
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Field Notes Studio<br>Learning Avenue<br>Sample City</p>
Load Editable Element Example Official reference
HTML: <hr>

A thematic break between parts of content.

Attributes and context
void element; style with CSS
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>First topic.</p><hr><p>A different stage of the discussion.</p>
Load Editable Element Example Official reference
HTML: <blockquote>

An extended quotation with its own block context.

Attributes and context
cite optional source URL; visible attribution is separate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<blockquote cite="https://example.com/source"><p>Make the structure understandable before decorating it.</p></blockquote>
Load Editable Element Example Official reference
HTML: <q>

A short inline quotation.

Attributes and context
cite optional
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Our workshop motto is <q>test one change at a time</q>.</p>
Load Editable Element Example Official reference
HTML: <cite>

The title of a cited creative work.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Read <cite>The Design Notebook</cite> for the source discussion.</p>
Load Editable Element Example Official reference
HTML: <del>

Content removed from the document history.

Attributes and context
datetime and cite optional
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Price: <del>$40</del> <ins>$30</ins></p>
Load Editable Element Example Official reference
HTML: <ins>

Content inserted into a document.

Attributes and context
datetime and cite optional
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Updated topic: <ins datetime="2026-11-18">responsive layout review</ins>.</p>
Load Editable Element Example Official reference
HTML: <div>

A generic flow container when no more specific semantics apply.

Attributes and context
class and global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<div class="layout"><p>Two pieces of content share a layout wrapper.</p><p>The wrapper adds no article semantics.</p></div>
Load Editable Element Example Official reference
HTML: <span>

A generic inline container for a specific styling or scripting hook.

Attributes and context
class and global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<p>Status: <span class="status">Ready for review</span></p>
Load Editable Element Example Official reference
HTML: <header>

Introductory content for its page or section.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<header><p>Field Notes</p><h1>Workshop guide</h1></header>
Load Editable Element Example Official reference
HTML: <nav>

A major navigation region with real destinations.

Attributes and context
aria-label when distinguishing multiple regions
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<nav aria-label="On this page"><a href="#guide">Guide</a></nav><main id="guide"><h1>Guide</h1></main>
Load Editable Element Example Official reference
HTML: <main>

The document’s principal content, normally one visible instance.

Attributes and context
id useful for skip links
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<main><h1>Principal content</h1><p>The central task belongs here.</p></main>
Load Editable Element Example Official reference
HTML: <section>

A thematic grouping, usually identified by a heading.

Attributes and context
aria-labelledby optional for an explicitly named region
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<section aria-labelledby="outcomes"><h2 id="outcomes">Learning outcomes</h2><p>Build and explain a page.</p></section>
Load Editable Element Example Official reference
HTML: <article>

An independently meaningful composition.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<article><h2>Layout field note</h2><p>This note stands on its own.</p><footer>By Alex</footer></article>
Load Editable Element Example Official reference
HTML: <aside>

Tangential supporting content rather than simply a right-hand column.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<aside><h2>Related reference</h2><p>Review the box model.</p></aside>
Load Editable Element Example Official reference
HTML: <footer>

Footer information for the nearest relevant section or page.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<article><h2>Field note</h2><p>A useful observation.</p><footer>Published by the workshop team.</footer></article>
Load Editable Element Example Official reference
HTML: <address>

Contact information for the relevant author or organization.

Attributes and context
global attributes; not every postal address is an address element
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<address>Workshop team: <a href="mailto:hello@example.com">hello@example.com</a></address>
Load Editable Element Example Official reference
HTML: <ul>

An unordered list of peer items.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<ul><li>HTML</li><li>CSS</li><li>Testing</li></ul>
Load Editable Element Example Official reference
HTML: <ol>

A list whose order is meaningful.

Attributes and context
start, reversed and type where appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<ol><li>Predict</li><li>Run</li><li>Explain</li></ol>
Load Editable Element Example Official reference
HTML: <li>

One list item inside a supported list container.

Attributes and context
value for ordered-list numbering when needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<ul><li>A parent topic<ul><li>A nested detail</li></ul></li></ul>
Load Editable Element Example Official reference
HTML: <dl>

A group of terms and descriptions.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<dl><dt>Viewport</dt><dd>The CSS layout area.</dd><dt>Breakpoint</dt><dd>A condition where layout adapts.</dd></dl>
Load Editable Element Example Official reference
HTML: <dt>

A term in a description list.

Attributes and context
must belong to an appropriate description-list group
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<dl><dt>Padding</dt><dd>Internal box space.</dd></dl>
Load Editable Element Example Official reference
HTML: <dd>

A description in a description list.

Attributes and context
appropriate dl relationship
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<dl><dt>Margin</dt><dd>External separation outside a border.</dd></dl>
Load Editable Element Example Official reference
HTML: <figure>

Self-contained content optionally associated with a caption.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<figure><img src="assets/landscape.svg" alt="Blue hills" width="640" height="400"><figcaption>Landscape study.</figcaption></figure>
Load Editable Element Example Official reference
HTML: <figcaption>

The caption for a figure.

Attributes and context
must be a figure child in the proper position
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<figure><pre>HTML → CSS → Preview</pre><figcaption>A learning workflow.</figcaption></figure>
Load Editable Element Example Official reference
HTML: <img>

A replaced image with a purpose-appropriate text alternative.

Attributes and context
src, alt; width/height; loading/decoding when appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<img src="assets/shapes.svg" alt="Overlapping warm circle and blue square" width="640" height="400">
Load Editable Element Example Official reference
HTML: <picture>

Art direction or source selection around a fallback image.

Attributes and context
source elements plus a required fallback img
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<picture><source media="(min-width: 600px)" srcset="assets/landscape.svg"><img src="assets/shapes.svg" alt="A study composition" width="640" height="400"></picture>
Load Editable Element Example Official reference
HTML: <source>

A candidate media resource with selection conditions.

Attributes and context
srcset/media/type for picture; src for media
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<picture><source media="(min-width: 700px)" srcset="assets/landscape.svg"><img src="assets/shapes.svg" alt="Original study artwork" width="640" height="400"></picture>
Load Editable Element Example Official reference
HTML: <table>

Tabular relationships between data in rows and columns.

Attributes and context
use caption and associated headers as needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><caption>Sessions</caption><tr><th scope="col">Topic</th><th scope="col">Seats</th></tr><tr><th scope="row">Grid</th><td>12</td></tr></table>
Load Editable Element Example Official reference
HTML: <caption>

A table’s visible name or description.

Attributes and context
must occur in its table context
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><caption>Monthly attendance</caption><tr><th scope="col">Month</th><th scope="col">People</th></tr><tr><td>June</td><td>24</td></tr></table>
Load Editable Element Example Official reference
HTML: <thead>

A group of table header rows.

Attributes and context
table context
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><thead><tr><th scope="col">Name</th><th scope="col">Status</th></tr></thead><tbody><tr><td>Alex</td><td>Ready</td></tr></tbody></table>
Load Editable Element Example Official reference
HTML: <tbody>

A group of table body rows, sometimes inserted by the parser.

Attributes and context
table context
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><tbody><tr><th scope="row">Alex</th><td>Complete</td></tr><tr><th scope="row">Jordan</th><td>Pending</td></tr></tbody></table>
Load Editable Element Example Official reference
HTML: <tfoot>

A group of summary/footer rows.

Attributes and context
table context
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><tbody><tr><th scope="row">Seats</th><td>12</td></tr></tbody><tfoot><tr><th scope="row">Total</th><td>12</td></tr></tfoot></table>
Load Editable Element Example Official reference
HTML: <tr>

A table row containing header/data cells.

Attributes and context
table row-group context
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><tr><th scope="row">Monday</th><td>12 seats</td></tr></table>
Load Editable Element Example Official reference
HTML: <th>

A header cell associated with data.

Attributes and context
scope; colspan/rowspan/headers where needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><tr><th scope="col">Course</th><th scope="col">Level</th></tr><tr><th scope="row">HTML</th><td>Beginner</td></tr></table>
Load Editable Element Example Official reference
HTML: <td>

A table data cell, not a page-layout wrapper.

Attributes and context
headers; colspan/rowspan where needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<table><tr><th scope="row">Workshop price</th><td>$30</td></tr></table>
Load Editable Element Example Official reference
HTML: <form>

A group of named controls for a submitted task.

Attributes and context
action/method for real delivery; local preview intercepts submission
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<form><label>Name <input name="name" required></label><button>Preview locally</button></form><p>Delivery needs a configured backend.</p>
Load Editable Element Example Official reference
HTML: <label>

A visible programmatic name for a control.

Attributes and context
for matching an input id, or wrapping association
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label for="email">Email</label><input id="email" name="email" type="email">
Load Editable Element Example Official reference
HTML: <input>

A native control whose type selects a data/interaction contract.

Attributes and context
type, name, value, constraints and autocomplete as appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Quantity <input type="number" name="quantity" min="1" max="6" value="1"></label>
Load Editable Element Example Official reference
HTML: <textarea>

A native multiline text input.

Attributes and context
name, rows, cols, maxlength, required where appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Notes <textarea name="notes" rows="4" maxlength="500">Write a short observation.</textarea></label>
Load Editable Element Example Official reference
HTML: <select>

A native choice control.

Attributes and context
name; multiple/required where appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Level <select name="level"><option value="beginner">Beginner</option><option value="intermediate">Intermediate</option></select></label>
Load Editable Element Example Official reference
HTML: <option>

A choice within select, optgroup or datalist.

Attributes and context
value, selected, disabled as appropriate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Session <select><option value="am">Morning</option><option value="pm" selected>Afternoon</option></select></label>
Load Editable Element Example Official reference
HTML: <optgroup>

A labeled group of options inside a select.

Attributes and context
label
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Course <select><optgroup label="Foundations"><option>HTML</option><option>CSS</option></optgroup><optgroup label="Layouts"><option>Grid</option></optgroup></select></label>
Load Editable Element Example Official reference
HTML: <fieldset>

A group of related form controls.

Attributes and context
disabled where the entire group is unavailable
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<fieldset><legend>Preferred session</legend><label><input type="radio" name="session" value="am">Morning</label><label><input type="radio" name="session" value="pm">Afternoon</label></fieldset>
Load Editable Element Example Official reference
HTML: <legend>

The caption for a fieldset.

Attributes and context
first relevant fieldset child
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<fieldset><legend>Contact details</legend><label>Name <input name="name"></label></fieldset>
Load Editable Element Example Official reference
HTML: <button>

A native action control with keyboard behavior.

Attributes and context
type explicit when context could submit accidentally
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<form><label>Name <input name="name" required></label><button type="submit">Preview</button><button type="reset">Reset fields</button></form>
Load Editable Element Example Official reference
HTML: <datalist>

A list of suggestions without forcing a closed set.

Attributes and context
id referenced by input list
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>City <input list="cities" name="city"></label><datalist id="cities"><option value="Toronto"><option value="Ottawa"></datalist>
Load Editable Element Example Official reference
HTML: <output>

A result of a calculation or user action.

Attributes and context
for/name when useful; needs actual logic for live updates
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Selected size <input type="range" value="18"></label><output>18px initial sample; connect behavior when implementing a live control.</output>
Load Editable Element Example Official reference
HTML: <progress>

Progress through a task with a known maximum or indeterminate state.

Attributes and context
value and max; omit value for indeterminate
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Lesson progress <progress value="3" max="10">3 of 10</progress></label>
Load Editable Element Example Official reference
HTML: <meter>

A scalar value within a known range, not task progress.

Attributes and context
min/max/value; low/high/optimum when meaningful
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<label>Storage used <meter min="0" max="100" value="35">35%</meter></label>
Load Editable Element Example Official reference
HTML: <details>

A native disclosure with built-in interaction.

Attributes and context
open for initial expanded state
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<details><summary>Read the checklist</summary><ul><li>Check links.</li><li>Test focus.</li></ul></details>
Load Editable Element Example Official reference
HTML: <summary>

The interactive caption for a details disclosure.

Attributes and context
must be the summary of its details
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<details open><summary>Source explanation</summary><p>The browser handles disclosure interaction natively.</p></details>
Load Editable Element Example Official reference
HTML: <dialog>

A dialog element needing appropriate opening, closing and focus behavior.

Attributes and context
open; use showModal/close for full modal interaction
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<dialog open aria-labelledby="dialog-title"><h2 id="dialog-title">Non-modal sample</h2><p>This reference uses the open attribute; complete modal examples include actual controls and JavaScript.</p></dialog>
Load Editable Element Example Official reference
HTML: <template>

Inert markup stored for later instantiation.

Attributes and context
global attributes
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<h1>Template is inert</h1><template><article><h2>This is not rendered yet</h2></article></template><p>JavaScript can clone template.content.</p>
Load Editable Element Example Official reference
HTML: <audio>

Native audio media controls when an actual source is provided.

Attributes and context
controls and source; provide transcript
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<figure><audio controls aria-label="Audio demonstration without bundled recording"></audio><figcaption>No audio asset is bundled; add an owned source before expecting playback.</figcaption></figure>
Load Editable Element Example Official reference
HTML: <video>

Native video media requiring an actual source plus captions as appropriate.

Attributes and context
controls, source, dimensions; captions/transcript
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<figure><video controls width="320" poster="assets/landscape.svg" aria-label="Video container demonstration"></video><figcaption>Add your licensed video and captions; this example teaches structure only.</figcaption></figure>
Load Editable Element Example Official reference
HTML: <canvas>

A script-rendered bitmap with an accessible fallback.

Attributes and context
width/height; actual drawing and accessible equivalent needed
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<canvas width="320" height="180">A diagram requires drawing code and an equivalent explanation.</canvas><p>HTML alone provides the drawing surface, not a chart.</p>
Load Editable Element Example Official reference
HTML: <svg>

A scalable vector graphic with semantic labeling.

Attributes and context
viewBox and accessible name for informative graphics
Accessibility
Use the element for its documented meaning. Review its actual accessible name, native behavior, text alternative and keyboard experience; automated structural checks do not prove appropriateness.
Common mistakes
Choosing a tag only for its visual appearance, omitting its required context or presenting an unimplemented action as complete.
<svg viewBox="0 0 300 100" width="300" height="100" role="img" aria-labelledby="vector-title"><title id="vector-title">Two connected stages</title><rect x="10" y="20" width="100" height="60" fill="#234f9b"/><path d="M120 50H180" stroke="#17324d" stroke-width="4"/><circle cx="230" cy="50" r="30" fill="#c88445"/></svg>
Load Editable Element Example Official reference
CSS: color

Sets the foreground text color; contrast depends on the actual background.

Accepted grammar
<color>
Initial value
"canvastext"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { color: #17324d; }

Inspect .sample in the block context. Sets the foreground text color; contrast depends on the actual background. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-color

Paints the background color behind content and padding.

Accepted grammar
<color>
Initial value
"transparent"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-color: #e3edf8; }

Inspect .sample in the block context. Paints the background color behind content and padding. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-image

Adds a decorative background layer without replacing semantic content.

Accepted grammar
<bg-image>#
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-image: linear-gradient(120deg,#dce9fa,#f7dfc1); }

Inspect .sample in the block context. Adds a decorative background layer without replacing semantic content. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-size

Sizes each background image layer rather than the element itself.

Accepted grammar
<bg-size>#
Initial value
"auto auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-size: 40px 40px; }

Inspect .sample in the block context. Sizes each background image layer rather than the element itself. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-position

Positions a background image inside its positioning area.

Accepted grammar
<bg-position>#
Initial value
"0% 0%"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-position: center; }

Inspect .sample in the block context. Positions a background image inside its positioning area. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-repeat

Controls whether a background image tiles.

Accepted grammar
<repeat-style>#
Initial value
"repeat"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-repeat: no-repeat; }

Inspect .sample in the block context. Controls whether a background image tiles. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-origin

Chooses the box used to position background images.

Accepted grammar
<visual-box>#
Initial value
"padding-box"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-origin: content-box; }

Inspect .sample in the block context. Chooses the box used to position background images. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-clip

Limits the background painting area.

Accepted grammar
<bg-clip>#
Initial value
"border-box"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-clip: padding-box; }

Inspect .sample in the block context. Limits the background painting area. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-attachment

Controls background scrolling behavior; test fixed backgrounds on target devices.

Accepted grammar
<attachment>#
Initial value
"scroll"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-attachment: scroll; }

Inspect .sample in the block context. Controls background scrolling behavior; test fixed backgrounds on target devices. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: background-blend-mode

Combines overlapping background layers through a blending operation.

Accepted grammar
<blend-mode>#
Initial value
"normal"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { background-blend-mode: multiply; }

Inspect .sample in the block context. Combines overlapping background layers through a blending operation. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: opacity

Makes the entire composited element translucent, including its content.

Accepted grammar
<opacity-value>
Initial value
"1"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { opacity: 0.7; }

Inspect .sample in the block context. Makes the entire composited element translucent, including its content. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-family

Chooses a font stack with a generic fallback.

Accepted grammar
[ <family-name> | <generic-family> ]#
Initial value
"dependsOnUserAgent"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-family: Georgia, serif; }

Inspect .sample in the block context. Chooses a font stack with a generic fallback. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-size

Sets the text size, subject to zoom and inherited context.

Accepted grammar
<absolute-size> | <relative-size> | <length-percentage [0,∞]> | math
Initial value
"medium"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-size: 24px; }

Inspect .sample in the block context. Sets the text size, subject to zoom and inherited context. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-weight

Selects a supported weight; available faces affect the result.

Accepted grammar
<font-weight-absolute> | bolder | lighter
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-weight: 700; }

Inspect .sample in the block context. Selects a supported weight; available faces affect the result. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-style

Selects an italic or oblique face/style where available.

Accepted grammar
normal | italic | oblique <angle>?
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-style: italic; }

Inspect .sample in the block context. Selects an italic or oblique face/style where available. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-variant

Requests typographic variants rather than changing the underlying text.

Accepted grammar
normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-variant: small-caps; }

Inspect .sample in the block context. Requests typographic variants rather than changing the underlying text. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-stretch

Requests a condensed font width when the chosen font supports it.

Accepted grammar
<font-stretch-absolute>
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
obsolete; consult current compatibility and actual CSS.supports.
.sample { font-stretch: condensed; }

Inspect .sample in the block context. Requests a condensed font width when the chosen font supports it. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-kerning

Controls adjustment of space between particular glyph pairs.

Accepted grammar
auto | normal | none
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-kerning: normal; }

Inspect .sample in the block context. Controls adjustment of space between particular glyph pairs. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-feature-settings

Sets low-level font features supported by the selected font.

Accepted grammar
normal | <feature-tag-value>#
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-feature-settings: "liga" 1; }

Inspect .sample in the block context. Sets low-level font features supported by the selected font. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-variation-settings

Adjusts axes of a variable font when that font supplies them.

Accepted grammar
normal | [ <string> <number> ]#
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-variation-settings: "wght" 650; }

Inspect .sample in the block context. Adjusts axes of a variable font when that font supplies them. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-optical-sizing

Allows a font’s optical-size axis to adapt where supported.

Accepted grammar
auto | none
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-optical-sizing: auto; }

Inspect .sample in the block context. Allows a font’s optical-size axis to adapt where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: font-size-adjust

Adjusts apparent lowercase size across font fallbacks.

Accepted grammar
none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number> ]
Initial value
"none"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { font-size-adjust: 0.5; }

Inspect .sample in the block context. Adjusts apparent lowercase size across font fallbacks. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: line-height

Controls baseline spacing; a unitless factor inherits usefully.

Accepted grammar
normal | <number> | <length> | <percentage>
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { line-height: 1.7; }

Inspect .sample in the block context. Controls baseline spacing; a unitless factor inherits usefully. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: letter-spacing

Changes tracking between characters without inserting actual spaces.

Accepted grammar
normal | <length>
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { letter-spacing: 0.08em; }

Inspect .sample in the block context. Changes tracking between characters without inserting actual spaces. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: word-spacing

Adjusts spacing between words.

Accepted grammar
normal | <length>
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { word-spacing: 0.3em; }

Inspect .sample in the block context. Adjusts spacing between words. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-align

Aligns inline content within a line box.

Accepted grammar
start | end | left | right | center | justify | match-parent
Initial value
"startOrNamelessValueIfLTRRightIfRTL"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-align: center; }

Inspect .sample in the block context. Aligns inline content within a line box. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-align-last

Controls alignment of the final line of a text block.

Accepted grammar
auto | start | end | left | right | center | justify
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-align-last: start; }

Inspect .sample in the block context. Controls alignment of the final line of a text block. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-indent

Indents the first formatted line.

Accepted grammar
<length-percentage> && hanging? && each-line?
Initial value
"0"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-indent: 2em; }

Inspect .sample in the block context. Indents the first formatted line. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-transform

Transforms presentation without rewriting source text.

Accepted grammar
none | [ capitalize | uppercase | lowercase ] || full-width || full-size-kana | math-auto
Initial value
"none"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-transform: uppercase; }

Inspect .sample in the block context. Transforms presentation without rewriting source text. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-decoration

Adds a text decoration; avoid confusing non-links with links.

Accepted grammar
<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>
Initial value
{"text-decoration-color": "currentcolor", "text-decoration-style": "solid", "text-decoration-line": "none"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-decoration: underline; }

Inspect .sample in the block context. Adds a text decoration; avoid confusing non-links with links. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-decoration-color

Colors the decoration separately from glyphs.

Accepted grammar
<color>
Initial value
"currentcolor"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-decoration-color: #a44322; }

Inspect .sample in the block context. Colors the decoration separately from glyphs. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-decoration-line

Chooses the decoration lines.

Accepted grammar
none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-decoration-line: underline overline; }

Inspect .sample in the block context. Chooses the decoration lines. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-decoration-style

Chooses the decoration stroke pattern.

Accepted grammar
solid | double | dotted | dashed | wavy
Initial value
"solid"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-decoration-style: wavy; }

Inspect .sample in the block context. Chooses the decoration stroke pattern. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-decoration-thickness

Sets decoration thickness.

Accepted grammar
auto | from-font | <length> | <percentage>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-decoration-thickness: 3px; }

Inspect .sample in the block context. Sets decoration thickness. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-underline-offset

Moves an underline away from its default position.

Accepted grammar
auto | <length> | <percentage>
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-underline-offset: 0.2em; }

Inspect .sample in the block context. Moves an underline away from its default position. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-shadow

Adds a visual text shadow; preserve readability.

Accepted grammar
none | <shadow-t>#
Initial value
"none"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-shadow: 2px 2px 3px #a8b8c8; }

Inspect .sample in the block context. Adds a visual text shadow; preserve readability. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-overflow

Signals clipped inline overflow when other necessary constraints exist.

Accepted grammar
[ clip | ellipsis | <string> ]{1,2}
Initial value
"clip"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-overflow: ellipsis; }

Inspect .sample in the constrained scrolling box context. Signals clipped inline overflow when other necessary constraints exist. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: white-space

Preserves whitespace while allowing wrapping.

Accepted grammar
normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'>
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { white-space: pre-wrap; }

Inspect .sample in the block context. Preserves whitespace while allowing wrapping. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow-wrap

Permits long unbroken text to wrap to avoid overflow.

Accepted grammar
normal | break-word | anywhere
Initial value
"normal"
Inherited
True
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow-wrap: anywhere; }

Inspect .sample in the constrained scrolling box context. Permits long unbroken text to wrap to avoid overflow. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: word-break

Controls word-breaking rules; language affects behavior.

Accepted grammar
normal | break-all | keep-all | break-word | auto-phrase
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { word-break: normal; }

Inspect .sample in the block context. Controls word-breaking rules; language affects behavior. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: hyphens

Permits automatic hyphenation when language and dictionaries support it.

Accepted grammar
none | manual | auto
Initial value
"manual"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { hyphens: auto; }

Inspect .sample in the block context. Permits automatic hyphenation when language and dictionaries support it. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-wrap

Requests balanced wrapping where supported; check actual browser behavior.

Accepted grammar
<'text-wrap-mode'> || <'text-wrap-style'>
Initial value
"wrap"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-wrap: balance; }

Inspect .sample in the block context. Requests balanced wrapping where supported; check actual browser behavior. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: vertical-align

Aligns inline-level or table-cell content, not arbitrary block boxes.

Accepted grammar
baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>
Initial value
"baseline"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { vertical-align: middle; }

Inspect .sample in the block context. Aligns inline-level or table-cell content, not arbitrary block boxes. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: direction

Sets base inline direction; use HTML dir for content direction where appropriate.

Accepted grammar
ltr | rtl
Initial value
"ltr"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { direction: rtl; }

Inspect .sample in the block context. Sets base inline direction; use HTML dir for content direction where appropriate. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: unicode-bidi

Isolates bidirectional text interactions.

Accepted grammar
normal | embed | isolate | bidi-override | isolate-override | plaintext
Initial value
"normal"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { unicode-bidi: isolate; }

Inspect .sample in the block context. Isolates bidirectional text interactions. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: writing-mode

Changes the direction of text flow and logical axes.

Accepted grammar
horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr
Initial value
"horizontal-tb"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { writing-mode: vertical-rl; }

Inspect .sample in the block context. Changes the direction of text flow and logical axes. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: text-orientation

Controls glyph orientation in vertical writing modes.

Accepted grammar
mixed | upright | sideways
Initial value
"mixed"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { text-orientation: mixed; }

Inspect .sample in the block context. Controls glyph orientation in vertical writing modes. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: width

Sets preferred box width, interpreted by box-sizing.

Accepted grammar
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { width: 240px; }

Inspect .sample in the block context. Sets preferred box width, interpreted by box-sizing. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: height

Sets preferred box height; fixed heights can clip growing content.

Accepted grammar
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { height: 140px; }

Inspect .sample in the block context. Sets preferred box height; fixed heights can clip growing content. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: min-width

Constrains the minimum width.

Accepted grammar
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { min-width: 160px; }

Inspect .sample in the block context. Constrains the minimum width. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: max-width

Constrains the maximum width without requiring a fixed width.

Accepted grammar
none | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { max-width: 28rem; }

Inspect .sample in the block context. Constrains the maximum width without requiring a fixed width. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: min-height

Provides a minimum height while allowing growth.

Accepted grammar
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { min-height: 8rem; }

Inspect .sample in the block context. Provides a minimum height while allowing growth. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: max-height

Constrains height; pair with deliberate overflow behavior.

Accepted grammar
none | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { max-height: 12rem; }

Inspect .sample in the block context. Constrains height; pair with deliberate overflow behavior. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inline-size

Sets preferred size along the logical inline axis.

Accepted grammar
<'width'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inline-size: 260px; }

Inspect .sample in the block context. Sets preferred size along the logical inline axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: block-size

Sets preferred size along the logical block axis.

Accepted grammar
<'width'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { block-size: 140px; }

Inspect .sample in the block context. Sets preferred size along the logical block axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: min-inline-size

Constrains minimum logical inline size.

Accepted grammar
<'min-width'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { min-inline-size: 160px; }

Inspect .sample in the block context. Constrains minimum logical inline size. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: max-inline-size

Constrains maximum logical inline size.

Accepted grammar
<'max-width'>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { max-inline-size: 30rem; }

Inspect .sample in the block context. Constrains maximum logical inline size. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: min-block-size

Constrains minimum logical block size.

Accepted grammar
<'min-width'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { min-block-size: 8rem; }

Inspect .sample in the block context. Constrains minimum logical block size. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: max-block-size

Constrains maximum logical block size.

Accepted grammar
<'max-width'>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { max-block-size: 15rem; }

Inspect .sample in the block context. Constrains maximum logical block size. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: aspect-ratio

Provides a preferred width-to-height ratio when sizing allows.

Accepted grammar
auto || <ratio>
Initial value
"auto"
Inherited
False
Layout context
replaced image
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { aspect-ratio: 16 / 9; }

Inspect .sample in the replaced image context. Provides a preferred width-to-height ratio when sizing allows. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: box-sizing

Includes padding and border in specified dimensions; margin remains outside.

Accepted grammar
content-box | border-box
Initial value
"content-box"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { box-sizing: border-box; }

Inspect .sample in the block context. Includes padding and border in specified dimensions; margin remains outside. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding

Creates internal space between content and border.

Accepted grammar
<'padding-top'>{1,4}
Initial value
{"padding-bottom": "0", "padding-left": "0", "padding-right": "0", "padding-top": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding: 24px; }

Inspect .sample in the block context. Creates internal space between content and border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-top

Sets top internal spacing.

Accepted grammar
<length-percentage [0,∞]>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-top: 32px; }

Inspect .sample in the block context. Sets top internal spacing. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-right

Sets right internal spacing in physical coordinates.

Accepted grammar
<length-percentage [0,∞]>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-right: 32px; }

Inspect .sample in the block context. Sets right internal spacing in physical coordinates. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-bottom

Sets bottom internal spacing.

Accepted grammar
<length-percentage [0,∞]>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-bottom: 32px; }

Inspect .sample in the block context. Sets bottom internal spacing. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-left

Sets left internal spacing in physical coordinates.

Accepted grammar
<length-percentage [0,∞]>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-left: 32px; }

Inspect .sample in the block context. Sets left internal spacing in physical coordinates. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-inline

Sets internal spacing on logical inline edges.

Accepted grammar
<'padding-top'>{1,2}
Initial value
{"padding-inline-start": "0", "padding-inline-end": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-inline: 24px; }

Inspect .sample in the block context. Sets internal spacing on logical inline edges. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-block

Sets internal spacing on logical block edges.

Accepted grammar
<'padding-top'>{1,2}
Initial value
{"padding-block-start": "0", "padding-block-end": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-block: 16px; }

Inspect .sample in the block context. Sets internal spacing on logical block edges. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-inline-start

Sets internal spacing at the logical inline start.

Accepted grammar
<'padding-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-inline-start: 32px; }

Inspect .sample in the block context. Sets internal spacing at the logical inline start. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-inline-end

Sets internal spacing at the logical inline end.

Accepted grammar
<'padding-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-inline-end: 32px; }

Inspect .sample in the block context. Sets internal spacing at the logical inline end. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-block-start

Sets internal spacing at the logical block start.

Accepted grammar
<'padding-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-block-start: 32px; }

Inspect .sample in the block context. Sets internal spacing at the logical block start. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: padding-block-end

Sets internal spacing at the logical block end.

Accepted grammar
<'padding-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { padding-block-end: 32px; }

Inspect .sample in the block context. Sets internal spacing at the logical block end. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin

Creates external separation; some block margins can collapse.

Accepted grammar
<'margin-top'>{1,4}
Initial value
{"margin-bottom": "0", "margin-left": "0", "margin-right": "0", "margin-top": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin: 24px; }

Inspect .sample in the block context. Creates external separation; some block margins can collapse. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-top

Sets the top external margin.

Accepted grammar
<length-percentage> | auto | <anchor-size()>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-top: 32px; }

Inspect .sample in the block context. Sets the top external margin. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-right

Sets the right external margin.

Accepted grammar
<length-percentage> | auto | <anchor-size()>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-right: 32px; }

Inspect .sample in the block context. Sets the right external margin. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-bottom

Sets the bottom external margin.

Accepted grammar
<length-percentage> | auto | <anchor-size()>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-bottom: 32px; }

Inspect .sample in the block context. Sets the bottom external margin. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-left

Sets the left external margin.

Accepted grammar
<length-percentage> | auto | <anchor-size()>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-left: 32px; }

Inspect .sample in the block context. Sets the left external margin. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-inline

Can center an appropriately sized block along the inline axis.

Accepted grammar
<'margin-top'>{1,2}
Initial value
{"margin-inline-start": "0", "margin-inline-end": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-inline: auto; }

Inspect .sample in the block context. Can center an appropriately sized block along the inline axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-block

Sets logical block-axis separation.

Accepted grammar
<'margin-top'>{1,2}
Initial value
{"margin-block-start": "0", "margin-block-end": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-block: 24px; }

Inspect .sample in the block context. Sets logical block-axis separation. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-inline-start

Sets external spacing at the logical inline start.

Accepted grammar
<'margin-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-inline-start: 32px; }

Inspect .sample in the block context. Sets external spacing at the logical inline start. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-inline-end

Sets external spacing at the logical inline end.

Accepted grammar
<'margin-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-inline-end: 32px; }

Inspect .sample in the block context. Sets external spacing at the logical inline end. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-block-start

Sets external spacing at the logical block start.

Accepted grammar
<'margin-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-block-start: 32px; }

Inspect .sample in the block context. Sets external spacing at the logical block start. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: margin-block-end

Sets external spacing at the logical block end.

Accepted grammar
<'margin-top'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { margin-block-end: 32px; }

Inspect .sample in the block context. Sets external spacing at the logical block end. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border

Combines border width, style and color.

Accepted grammar
<line-width> || <line-style> || <color>
Initial value
{"border-width": {"border-top-width": "medium", "border-right-width": "medium", "border-bottom-width": "medium", "border-left-width": "medium"}, "border-style": {"border-top-style": "none", "border-right-style": "none", "border-bottom-style": "none", "border-left-style": "none"}, "border-color": {"border-top-color": "currentcolor", "border-right-color": "currentcolor", "border-bottom-color": "currentcolor", "border-left-color": "currentcolor"}}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border: 3px solid #234f9b; }

Inspect .sample in the block context. Combines border width, style and color. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-width

Sets border thickness, visible when a non-none border style applies.

Accepted grammar
<line-width>{1,4}
Initial value
{"border-top-width": "medium", "border-right-width": "medium", "border-bottom-width": "medium", "border-left-width": "medium"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-width: 4px; }

Inspect .sample in the block context. Sets border thickness, visible when a non-none border style applies. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-style

Sets the border stroke pattern.

Accepted grammar
<line-style>{1,4}
Initial value
{"border-top-style": "none", "border-right-style": "none", "border-bottom-style": "none", "border-left-style": "none"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-style: dashed; }

Inspect .sample in the block context. Sets the border stroke pattern. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-color

Sets border color independently of width and style.

Accepted grammar
<color>{1,4}
Initial value
{"border-top-color": "currentcolor", "border-right-color": "currentcolor", "border-bottom-color": "currentcolor", "border-left-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-color: #234f9b; }

Inspect .sample in the block context. Sets border color independently of width and style. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-top

Styles the top border.

Accepted grammar
<line-width> || <line-style> || <color>
Initial value
{"border-top-width": "medium", "border-top-style": "none", "border-top-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-top: 4px solid #a44322; }

Inspect .sample in the block context. Styles the top border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-right

Styles the right border.

Accepted grammar
<line-width> || <line-style> || <color>
Initial value
{"border-right-width": "medium", "border-right-style": "none", "border-right-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-right: 4px solid #a44322; }

Inspect .sample in the block context. Styles the right border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-bottom

Styles the bottom border.

Accepted grammar
<line-width> || <line-style> || <color>
Initial value
{"border-bottom-width": "medium", "border-bottom-style": "none", "border-bottom-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-bottom: 4px solid #a44322; }

Inspect .sample in the block context. Styles the bottom border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-left

Styles the left border.

Accepted grammar
<line-width> || <line-style> || <color>
Initial value
{"border-left-width": "medium", "border-left-style": "none", "border-left-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-left: 4px solid #a44322; }

Inspect .sample in the block context. Styles the left border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-inline

Styles the borders at logical inline edges.

Accepted grammar
<'border-top'>
Initial value
{"border-inline-width": {"border-inline-start-width": "medium", "border-inline-end-width": "medium"}, "border-inline-style": {"border-inline-start-style": "none", "border-inline-end-style": "none"}, "border-inline-color": {"border-inline-start-color": "currentcolor", "border-inline-end-color": "currentcolor"}}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-inline: 4px solid #234f9b; }

Inspect .sample in the block context. Styles the borders at logical inline edges. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-block

Styles the borders at logical block edges.

Accepted grammar
<'border-top'>
Initial value
{"border-block-width": {"border-block-start-width": "medium", "border-block-end-width": "medium"}, "border-block-style": {"border-block-start-style": "none", "border-block-end-style": "none"}, "border-block-color": {"border-block-start-color": "currentcolor", "border-block-end-color": "currentcolor"}}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-block: 4px solid #234f9b; }

Inspect .sample in the block context. Styles the borders at logical block edges. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-inline-start

Styles the logical inline-start border.

Accepted grammar
<'border-top'>
Initial value
{"border-inline-start-width": "medium", "border-inline-start-style": "none", "border-inline-start-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-inline-start: 4px solid #a44322; }

Inspect .sample in the block context. Styles the logical inline-start border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-inline-end

Styles the logical inline-end border.

Accepted grammar
<'border-top'>
Initial value
{"border-inline-end-width": "medium", "border-inline-end-style": "none", "border-inline-end-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-inline-end: 4px solid #a44322; }

Inspect .sample in the block context. Styles the logical inline-end border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-block-start

Styles the logical block-start border.

Accepted grammar
<'border-top'>
Initial value
{"border-block-start-width": "medium", "border-block-start-style": "none", "border-block-start-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-block-start: 4px solid #a44322; }

Inspect .sample in the block context. Styles the logical block-start border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-block-end

Styles the logical block-end border.

Accepted grammar
<'border-top'>
Initial value
{"border-block-end-width": "medium", "border-block-end-style": "none", "border-block-end-color": "currentcolor"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-block-end: 4px solid #a44322; }

Inspect .sample in the block context. Styles the logical block-end border. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-radius

Rounds border corners without changing the box’s dimensions.

Accepted grammar
<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?
Initial value
{"border-top-left-radius": "0", "border-top-right-radius": "0", "border-bottom-right-radius": "0", "border-bottom-left-radius": "0"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-radius: 24px; }

Inspect .sample in the block context. Rounds border corners without changing the box’s dimensions. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-top-left-radius

Rounds the top-left corner.

Accepted grammar
<length-percentage [0,∞]>{1,2}
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-top-left-radius: 32px; }

Inspect .sample in the block context. Rounds the top-left corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-top-right-radius

Rounds the top-right corner.

Accepted grammar
<length-percentage [0,∞]>{1,2}
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-top-right-radius: 32px; }

Inspect .sample in the block context. Rounds the top-right corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-bottom-left-radius

Rounds the bottom-left corner.

Accepted grammar
<length-percentage [0,∞]>{1,2}
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-bottom-left-radius: 32px; }

Inspect .sample in the block context. Rounds the bottom-left corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-bottom-right-radius

Rounds the bottom-right corner.

Accepted grammar
<length-percentage [0,∞]>{1,2}
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-bottom-right-radius: 32px; }

Inspect .sample in the block context. Rounds the bottom-right corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-start-start-radius

Rounds a corner relative to writing mode and direction.

Accepted grammar
<'border-top-left-radius'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-start-start-radius: 32px; }

Inspect .sample in the block context. Rounds a corner relative to writing mode and direction. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-start-end-radius

Rounds the logical start/end corner.

Accepted grammar
<'border-top-left-radius'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-start-end-radius: 32px; }

Inspect .sample in the block context. Rounds the logical start/end corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-end-start-radius

Rounds the logical end/start corner.

Accepted grammar
<'border-top-left-radius'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-end-start-radius: 32px; }

Inspect .sample in the block context. Rounds the logical end/start corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-end-end-radius

Rounds the logical end/end corner.

Accepted grammar
<'border-top-left-radius'>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { border-end-end-radius: 32px; }

Inspect .sample in the block context. Rounds the logical end/end corner. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: outline

Draws an outline without consuming normal box-model space.

Accepted grammar
<'outline-width'> || <'outline-style'> || <'outline-color'>
Initial value
{"outline-width": "medium", "outline-style": "none", "outline-color": "auto"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { outline: 3px solid #a44322; }

Inspect .sample in the block context. Draws an outline without consuming normal box-model space. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: outline-width

Sets outline thickness when an outline style is present.

Accepted grammar
<line-width>
Initial value
"medium"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { outline-width: 4px; }

Inspect .sample in the block context. Sets outline thickness when an outline style is present. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: outline-style

Sets the outline pattern; do not remove focus indicators without replacement.

Accepted grammar
auto | <outline-line-style>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { outline-style: dashed; }

Inspect .sample in the block context. Sets the outline pattern; do not remove focus indicators without replacement. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: outline-color

Sets outline color.

Accepted grammar
auto | <color>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { outline-color: #a44322; }

Inspect .sample in the block context. Sets outline color. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: outline-offset

Separates an outline from the element’s edge.

Accepted grammar
<length>
Initial value
"0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { outline-offset: 5px; }

Inspect .sample in the block context. Separates an outline from the element’s edge. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: box-shadow

Adds a shadow without participating in normal-flow sizing.

Accepted grammar
none | <shadow>#
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { box-shadow: 0 12px 28px #17324d33; }

Inspect .sample in the block context. Adds a shadow without participating in normal-flow sizing. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: display

Selects outer/inner display behavior; Grid establishes a layout context.

Accepted grammar
[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>
Initial value
"inline"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { display: grid; }

Inspect .sample in the block context. Selects outer/inner display behavior; Grid establishes a layout context. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: visibility

Hides the box visually while commonly retaining its layout space.

Accepted grammar
visible | hidden | collapse
Initial value
"visible"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { visibility: hidden; }

Inspect .sample in the block context. Hides the box visually while commonly retaining its layout space. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: position

Establishes positioned behavior while retaining normal-flow space.

Accepted grammar
static | relative | absolute | sticky | fixed
Initial value
"static"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { position: relative; }

Inspect .sample in the positioned box context. Establishes positioned behavior while retaining normal-flow space. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: top

Offsets a positioned element along the top axis.

Accepted grammar
auto | <length-percentage> | <anchor()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { top: 12px; }

Inspect .sample in the positioned box context. Offsets a positioned element along the top axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: right

Sets the right inset for positioned layout.

Accepted grammar
auto | <length-percentage> | <anchor()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { right: 12px; }

Inspect .sample in the positioned box context. Sets the right inset for positioned layout. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: bottom

Sets the bottom inset for positioned layout.

Accepted grammar
auto | <length-percentage> | <anchor()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { bottom: 12px; }

Inspect .sample in the positioned box context. Sets the bottom inset for positioned layout. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: left

Offsets a positioned element along the left axis.

Accepted grammar
auto | <length-percentage> | <anchor()> | <anchor-size()>
Initial value
"auto"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { left: 12px; }

Inspect .sample in the positioned box context. Offsets a positioned element along the left axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset

Sets the four physical insets together.

Accepted grammar
<'top'>{1,4}
Initial value
{"top": "auto", "bottom": "auto", "left": "auto", "right": "auto"}
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset: 12px; }

Inspect .sample in the positioned box context. Sets the four physical insets together. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-inline

Sets logical inline insets for a positioned element.

Accepted grammar
<'top'>{1,2}
Initial value
{"inset-inline-start": "auto", "inset-inline-end": "auto"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-inline: 12px; }

Inspect .sample in the block context. Sets logical inline insets for a positioned element. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-block

Sets logical block insets for a positioned element.

Accepted grammar
<'top'>{1,2}
Initial value
{"inset-block-start": "auto", "inset-block-end": "auto"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-block: 12px; }

Inspect .sample in the block context. Sets logical block insets for a positioned element. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-inline-start

Sets the logical inline-start inset.

Accepted grammar
<'top'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-inline-start: 12px; }

Inspect .sample in the block context. Sets the logical inline-start inset. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-inline-end

Sets the logical inline-end inset.

Accepted grammar
<'top'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-inline-end: 12px; }

Inspect .sample in the block context. Sets the logical inline-end inset. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-block-start

Sets the logical block-start inset.

Accepted grammar
<'top'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-block-start: 12px; }

Inspect .sample in the block context. Sets the logical block-start inset. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: inset-block-end

Sets the logical block-end inset.

Accepted grammar
<'top'>
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { inset-block-end: 12px; }

Inspect .sample in the block context. Sets the logical block-end inset. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: z-index

Sets stack level in the relevant stacking context, not globally.

Accepted grammar
auto | <integer>
Initial value
"auto"
Inherited
False
Layout context
positioned box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { z-index: 2; }

Inspect .sample in the positioned box context. Sets stack level in the relevant stacking context, not globally. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: float

Floats a box toward a logical inline edge where supported.

Accepted grammar
left | right | none | inline-start | inline-end
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { float: inline-start; }

Inspect .sample in the block context. Floats a box toward a logical inline edge where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: clear

Prevents a block from sitting alongside earlier relevant floats.

Accepted grammar
none | left | right | both | inline-start | inline-end
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { clear: both; }

Inspect .sample in the block context. Prevents a block from sitting alongside earlier relevant floats. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow

Adds scrolling when needed instead of silently clipping content.

Accepted grammar
[ visible | hidden | clip | scroll | auto ]{1,2}
Initial value
"visible"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow: auto; }

Inspect .sample in the constrained scrolling box context. Adds scrolling when needed instead of silently clipping content. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow-x

Controls horizontal overflow independently.

Accepted grammar
visible | hidden | clip | scroll | auto
Initial value
"visible"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow-x: auto; }

Inspect .sample in the constrained scrolling box context. Controls horizontal overflow independently. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow-y

Controls vertical overflow and can reserve a scrollbar.

Accepted grammar
visible | hidden | clip | scroll | auto
Initial value
"visible"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow-y: scroll; }

Inspect .sample in the constrained scrolling box context. Controls vertical overflow and can reserve a scrollbar. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow-inline

Controls overflow along the logical inline axis where supported.

Accepted grammar
visible | hidden | clip | scroll | auto
Initial value
"auto"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow-inline: auto; }

Inspect .sample in the constrained scrolling box context. Controls overflow along the logical inline axis where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overflow-block

Controls overflow along the logical block axis where supported.

Accepted grammar
visible | hidden | clip | scroll | auto
Initial value
"auto"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overflow-block: auto; }

Inspect .sample in the constrained scrolling box context. Controls overflow along the logical block axis where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scroll-behavior

Requests smooth programmatic/anchor scrolling; respect motion preferences.

Accepted grammar
auto | smooth
Initial value
"auto"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scroll-behavior: smooth; }

Inspect .sample in the constrained scrolling box context. Requests smooth programmatic/anchor scrolling; respect motion preferences. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scroll-margin-top

Adds a scroll alignment margin, useful below sticky headers.

Accepted grammar
<length>
Initial value
"0"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scroll-margin-top: 64px; }

Inspect .sample in the constrained scrolling box context. Adds a scroll alignment margin, useful below sticky headers. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scroll-padding-top

Offsets the optimal viewing region of a scroll container.

Accepted grammar
auto | <length-percentage>
Initial value
"auto"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scroll-padding-top: 64px; }

Inspect .sample in the constrained scrolling box context. Offsets the optimal viewing region of a scroll container. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scroll-snap-type

Enables scroll snapping along a specified axis.

Accepted grammar
none | [ x | y | block | inline | both ] [ mandatory | proximity ]?
Initial value
"none"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scroll-snap-type: x mandatory; }

Inspect .sample in the constrained scrolling box context. Enables scroll snapping along a specified axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scroll-snap-align

Chooses alignment of an item within a snapping container.

Accepted grammar
[ none | start | end | center ]{1,2}
Initial value
"none"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scroll-snap-align: start; }

Inspect .sample in the constrained scrolling box context. Chooses alignment of an item within a snapping container. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: overscroll-behavior

Controls scroll chaining at a scroll boundary.

Accepted grammar
[ contain | none | auto ]{1,2}
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { overscroll-behavior: contain; }

Inspect .sample in the block context. Controls scroll chaining at a scroll boundary. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scrollbar-gutter

Reserves scrollbar space to reduce layout shifts where supported.

Accepted grammar
auto | stable && both-edges?
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scrollbar-gutter: stable; }

Inspect .sample in the block context. Reserves scrollbar space to reduce layout shifts where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-direction

Sets the main axis direction of a flex container.

Accepted grammar
row | row-reverse | column | column-reverse
Initial value
"row"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { flex-direction: column; }

Inspect .stage in the flex container context. Sets the main axis direction of a flex container. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-wrap

Allows multiple flex lines when items do not fit.

Accepted grammar
nowrap | [ wrap | wrap-reverse ] || balance
Initial value
"nowrap"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { flex-wrap: wrap; }

Inspect .stage in the flex container context. Allows multiple flex lines when items do not fit. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-flow

Combines direction and wrapping.

Accepted grammar
<'flex-direction'> || <'flex-wrap'>
Initial value
{"flex-direction": "row", "flex-wrap": "nowrap"}
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { flex-flow: row wrap; }

Inspect .stage in the flex container context. Combines direction and wrapping. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: justify-content

Distributes main-axis free space in Flexbox and alignment space in relevant contexts.

Accepted grammar
normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]
Initial value
"normal"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { justify-content: space-between; }

Inspect .stage in the flex container context. Distributes main-axis free space in Flexbox and alignment space in relevant contexts. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: align-items

Sets cross-axis alignment of items in supported layout contexts.

Accepted grammar
normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center
Initial value
"normal"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { align-items: center; }

Inspect .stage in the flex container context. Sets cross-axis alignment of items in supported layout contexts. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: align-content

Distributes lines/tracks when extra relevant space exists.

Accepted grammar
normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>
Initial value
"normal"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { align-content: space-around; }

Inspect .stage in the flex container context. Distributes lines/tracks when extra relevant space exists. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: gap

Separates layout items or tracks without creating an outer margin.

Accepted grammar
<'row-gap'> <'column-gap'>?
Initial value
{"row-gap": "normal", "column-gap": "normal"}
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { gap: 20px; }

Inspect .stage in the flex container context. Separates layout items or tracks without creating an outer margin. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: row-gap

Sets separation between rows or flex lines.

Accepted grammar
normal | <length-percentage>
Initial value
"normal"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { row-gap: 24px; }

Inspect .stage in the flex container context. Sets separation between rows or flex lines. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: column-gap

Sets separation between columns or relevant flex items.

Accepted grammar
normal | <length-percentage>
Initial value
"normal"
Inherited
False
Layout context
flex container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { column-gap: 24px; }

Inspect .stage in the flex container context. Sets separation between columns or relevant flex items. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex

Combines grow, shrink and basis for a flex item.

Accepted grammar
none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]
Initial value
{"flex-grow": "0", "flex-shrink": "1", "flex-basis": "auto"}
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { flex: 1 1 8rem; }

Inspect .sample in the flex item context. Combines grow, shrink and basis for a flex item. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-grow

Controls an item’s share of positive free space.

Accepted grammar
<number>
Initial value
"0"
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { flex-grow: 2; }

Inspect .sample in the flex item context. Controls an item’s share of positive free space. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-shrink

Controls shrinking when negative free space must be distributed.

Accepted grammar
<number>
Initial value
"1"
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { flex-shrink: 0; }

Inspect .sample in the flex item context. Controls shrinking when negative free space must be distributed. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: flex-basis

Sets a flex item’s initial main-size basis.

Accepted grammar
content | <'width'>
Initial value
"auto"
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { flex-basis: 12rem; }

Inspect .sample in the flex item context. Sets a flex item’s initial main-size basis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: order

Changes visual order in flex/grid; DOM reading order is unchanged.

Accepted grammar
<integer>
Initial value
"0"
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { order: 2; }

Inspect .sample in the flex item context. Changes visual order in flex/grid; DOM reading order is unchanged. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: align-self

Overrides cross-axis item alignment for this item.

Accepted grammar
auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center
Initial value
"auto"
Inherited
False
Layout context
flex item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { align-self: flex-end; }

Inspect .sample in the flex item context. Overrides cross-axis item alignment for this item. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: justify-self

Aligns one item along the relevant inline axis; it does not apply to flex items.

Accepted grammar
auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center
Initial value
"auto"
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { justify-self: end; }

Inspect .sample in the grid item context. Aligns one item along the relevant inline axis; it does not apply to flex items. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: place-items

Combines align-items and justify-items in supported contexts.

Accepted grammar
<'align-items'> <'justify-items'>?
Initial value
{"align-items": "normal", "justify-items": "legacy"}
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { place-items: center; }

Inspect .stage in the grid container context. Combines align-items and justify-items in supported contexts. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: place-content

Combines content alignment properties.

Accepted grammar
<'align-content'> <'justify-content'>?
Initial value
{"align-content": "normal", "justify-content": "normal"}
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { place-content: center; }

Inspect .stage in the grid container context. Combines content alignment properties. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: place-self

Combines self-alignment properties for one item.

Accepted grammar
<'align-self'> <'justify-self'>?
Initial value
{"align-self": "auto", "justify-self": "auto"}
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { place-self: center; }

Inspect .sample in the grid item context. Combines self-alignment properties for one item. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-template-columns

Defines explicit grid column tracks.

Accepted grammar
none | <track-list> | <auto-track-list> | subgrid <line-name-list>?
Initial value
"none"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-template-columns: repeat(3,minmax(0,1fr)); }

Inspect .stage in the grid container context. Defines explicit grid column tracks. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-template-rows

Defines explicit grid row tracks.

Accepted grammar
none | <track-list> | <auto-track-list> | subgrid <line-name-list>?
Initial value
"none"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-template-rows: 5rem auto; }

Inspect .stage in the grid container context. Defines explicit grid row tracks. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-template-areas

Names rectangular areas in a grid template.

Accepted grammar
none | <string>+
Initial value
"none"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-template-areas: "head head" "side main"; }

Inspect .stage in the grid container context. Names rectangular areas in a grid template. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-auto-columns

Sizes implicit columns created outside the explicit grid.

Accepted grammar
<track-size>+
Initial value
"auto"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-auto-columns: 8rem; }

Inspect .stage in the grid container context. Sizes implicit columns created outside the explicit grid. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-auto-rows

Sizes implicit rows.

Accepted grammar
<track-size>+
Initial value
"auto"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-auto-rows: minmax(5rem,auto); }

Inspect .stage in the grid container context. Sizes implicit rows. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-auto-flow

Controls automatic placement; dense can visually reorder items.

Accepted grammar
[ row | column ] || dense
Initial value
"row"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { grid-auto-flow: row dense; }

Inspect .stage in the grid container context. Controls automatic placement; dense can visually reorder items. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-column

Places an item across grid column lines.

Accepted grammar
<grid-line> [ / <grid-line> ]?
Initial value
{"grid-column-start": "auto", "grid-column-end": "auto"}
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-column: 1 / span 2; }

Inspect .sample in the grid item context. Places an item across grid column lines. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-row

Places an item across grid row lines.

Accepted grammar
<grid-line> [ / <grid-line> ]?
Initial value
{"grid-row-start": "auto", "grid-row-end": "auto"}
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-row: 1 / span 2; }

Inspect .sample in the grid item context. Places an item across grid row lines. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-column-start

Sets the starting column line for an item.

Accepted grammar
<grid-line>
Initial value
"auto"
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-column-start: 2; }

Inspect .sample in the grid item context. Sets the starting column line for an item. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-column-end

Sets the ending line/span for an item.

Accepted grammar
<grid-line>
Initial value
"auto"
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-column-end: span 2; }

Inspect .sample in the grid item context. Sets the ending line/span for an item. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-row-start

Sets the starting row line.

Accepted grammar
<grid-line>
Initial value
"auto"
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-row-start: 2; }

Inspect .sample in the grid item context. Sets the starting row line. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-row-end

Sets the ending row line/span.

Accepted grammar
<grid-line>
Initial value
"auto"
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-row-end: span 2; }

Inspect .sample in the grid item context. Sets the ending row line/span. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: grid-area

Combines row/column placement or references a named area.

Accepted grammar
<grid-line> [ / <grid-line> ]{0,3}
Initial value
{"grid-row-start": "auto", "grid-column-start": "auto", "grid-row-end": "auto", "grid-column-end": "auto"}
Inherited
False
Layout context
grid item
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { grid-area: 1 / 1 / 2 / 3; }

Inspect .sample in the grid item context. Combines row/column placement or references a named area. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: justify-items

Sets default inline-axis alignment for grid items.

Accepted grammar
normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center
Initial value
"legacy"
Inherited
False
Layout context
grid container
Standards status
standard; consult current compatibility and actual CSS.supports.
.stage { justify-items: stretch; }

Inspect .stage in the grid container context. Sets default inline-axis alignment for grid items. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: object-fit

Fits replaced content into its content box, possibly cropping it.

Accepted grammar
fill | contain | cover | none | scale-down
Initial value
"fill"
Inherited
False
Layout context
replaced image
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { object-fit: cover; }

Inspect .sample in the replaced image context. Fits replaced content into its content box, possibly cropping it. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: object-position

Positions replaced content within its box.

Accepted grammar
<position>
Initial value
"50% 50%"
Inherited
False
Layout context
replaced image
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { object-position: center; }

Inspect .sample in the replaced image context. Positions replaced content within its box. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: list-style-type

Changes list marker appearance without changing list semantics.

Accepted grammar
<counter-style> | <string> | none
Initial value
"disc"
Inherited
True
Layout context
list
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { list-style-type: square; }

Inspect .sample in the list context. Changes list marker appearance without changing list semantics. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: list-style-position

Places the marker inside the principal block box.

Accepted grammar
inside | outside
Initial value
"outside"
Inherited
True
Layout context
list
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { list-style-position: inside; }

Inspect .sample in the list context. Places the marker inside the principal block box. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-collapse

Chooses a collapsed table-border model.

Accepted grammar
separate | collapse
Initial value
"separate"
Inherited
True
Layout context
table
Standards status
standard; consult current compatibility and actual CSS.supports.
table { border-collapse: collapse; }

Inspect table in the table context. Chooses a collapsed table-border model. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: border-spacing

Sets spacing between cells under the separate-border model.

Accepted grammar
<length>{1,2}
Initial value
"0"
Inherited
True
Layout context
table
Standards status
standard; consult current compatibility and actual CSS.supports.
table { border-spacing: 12px; }

Inspect table in the table context. Sets spacing between cells under the separate-border model. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: table-layout

Uses a fixed table layout algorithm based on known widths.

Accepted grammar
auto | fixed
Initial value
"auto"
Inherited
False
Layout context
table
Standards status
standard; consult current compatibility and actual CSS.supports.
table { table-layout: fixed; }

Inspect table in the table context. Uses a fixed table layout algorithm based on known widths. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: caption-side

Positions a table caption at a block edge.

Accepted grammar
top | bottom
Initial value
"top"
Inherited
True
Layout context
table
Standards status
standard; consult current compatibility and actual CSS.supports.
table { caption-side: bottom; }

Inspect table in the table context. Positions a table caption at a block edge. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: empty-cells

Controls empty cell borders/backgrounds in the separate-border model.

Accepted grammar
show | hide
Initial value
"show"
Inherited
True
Layout context
table
Standards status
standard; consult current compatibility and actual CSS.supports.
table { empty-cells: hide; }

Inspect table in the table context. Controls empty cell borders/backgrounds in the separate-border model. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transform

Composes visual transformations; order matters.

Accepted grammar
none | <transform-list>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transform: rotate(8deg) translateX(12px); }

Inspect .sample in the block context. Composes visual transformations; order matters. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transform-origin

Sets the origin used by transforms.

Accepted grammar
[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?
Initial value
"50% 50% 0"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transform-origin: left top; }

Inspect .sample in the block context. Sets the origin used by transforms. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transform-style

Allows descendants to participate in a 3D rendering context.

Accepted grammar
flat | preserve-3d
Initial value
"flat"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transform-style: preserve-3d; }

Inspect .sample in the block context. Allows descendants to participate in a 3D rendering context. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: perspective

Adds perspective for transformed descendants.

Accepted grammar
none | <length>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { perspective: 600px; }

Inspect .sample in the block context. Adds perspective for transformed descendants. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: perspective-origin

Sets the perspective viewing position.

Accepted grammar
<position>
Initial value
"50% 50%"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { perspective-origin: center; }

Inspect .sample in the block context. Sets the perspective viewing position. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: backface-visibility

Controls visibility of the back of a transformed element.

Accepted grammar
visible | hidden
Initial value
"visible"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { backface-visibility: hidden; }

Inspect .sample in the block context. Controls visibility of the back of a transformed element. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: translate

Applies an independent translation transform.

Accepted grammar
none | <length-percentage> [ <length-percentage> <length>? ]?
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { translate: 12px 6px; }

Inspect .sample in the block context. Applies an independent translation transform. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: rotate

Applies an independent rotation transform.

Accepted grammar
none | <angle> | [ x | y | z | <number>{3} ] && <angle>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { rotate: 8deg; }

Inspect .sample in the block context. Applies an independent rotation transform. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: scale

Applies an independent scale transform.

Accepted grammar
none | [ <number> | <percentage> ]{1,3}
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { scale: 1.1; }

Inspect .sample in the block context. Applies an independent scale transform. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transition

Animates changes to selected properties.

Accepted grammar
<single-transition>#
Initial value
{"transition-delay": "0s", "transition-duration": "0s", "transition-property": "all", "transition-timing-function": "ease", "transition-behavior": "normal"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transition: transform 300ms ease; }

Inspect .sample in the block context. Animates changes to selected properties. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transition-property

Selects properties that transition when their computed values change.

Accepted grammar
none | <single-transition-property>#
Initial value
"all"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transition-property: transform; }

Inspect .sample in the block context. Selects properties that transition when their computed values change. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transition-duration

Sets transition duration.

Accepted grammar
<time>#
Initial value
"0s"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transition-duration: 300ms; }

Inspect .sample in the block context. Sets transition duration. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transition-delay

Delays the start of a transition.

Accepted grammar
<time>#
Initial value
"0s"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transition-delay: 100ms; }

Inspect .sample in the block context. Delays the start of a transition. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: transition-timing-function

Defines transition progress over time.

Accepted grammar
<easing-function>#
Initial value
"ease"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { transition-timing-function: ease-in-out; }

Inspect .sample in the block context. Defines transition progress over time. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation

Connects keyframes with duration and playback behavior.

Accepted grammar
<single-animation>#
Initial value
{"animation-name": "none", "animation-duration": "0s", "animation-timing-function": "ease", "animation-delay": "0s", "animation-iteration-count": "1", "animation-direction": "normal", "animation-fill-mode": "none", "animation-play-state": "running", "animation-timeline": "auto"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation: academy-reveal 1s ease both; }

Inspect .sample in the block context. Connects keyframes with duration and playback behavior. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-name

Selects a named keyframe sequence.

Accepted grammar
[ none | <keyframes-name> ]#
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-name: academy-reveal; }

Inspect .sample in the block context. Selects a named keyframe sequence. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-duration

Sets the duration of one animation cycle.

Accepted grammar
[ auto | <time [0s,∞]> ]#
Initial value
"0s"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-duration: 1s; }

Inspect .sample in the block context. Sets the duration of one animation cycle. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-delay

Delays animation start.

Accepted grammar
<time>#
Initial value
"0s"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-delay: 200ms; }

Inspect .sample in the block context. Delays animation start. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-timing-function

Defines progress through each animation cycle.

Accepted grammar
<easing-function>#
Initial value
"ease"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-timing-function: ease-in-out; }

Inspect .sample in the block context. Defines progress through each animation cycle. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-iteration-count

Sets how many animation cycles occur.

Accepted grammar
<single-animation-iteration-count>#
Initial value
"1"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-iteration-count: 2; }

Inspect .sample in the block context. Sets how many animation cycles occur. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-direction

Reverses alternate animation cycles.

Accepted grammar
<single-animation-direction>#
Initial value
"normal"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-direction: alternate; }

Inspect .sample in the block context. Reverses alternate animation cycles. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-fill-mode

Applies relevant keyframe values before/after active motion.

Accepted grammar
<single-animation-fill-mode>#
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-fill-mode: both; }

Inspect .sample in the block context. Applies relevant keyframe values before/after active motion. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: animation-play-state

Pauses or resumes an animation without replacing it.

Accepted grammar
<single-animation-play-state>#
Initial value
"running"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { animation-play-state: paused; }

Inspect .sample in the block context. Pauses or resumes an animation without replacing it. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: filter

Applies visual filters to the rendered element.

Accepted grammar
none | <filter-value-list>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { filter: grayscale(1); }

Inspect .sample in the block context. Applies visual filters to the rendered element. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: backdrop-filter

Filters the backdrop where supported; provide a readable fallback.

Accepted grammar
none | <filter-value-list>
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { backdrop-filter: blur(6px); }

Inspect .sample in the block context. Filters the backdrop where supported; provide a readable fallback. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: clip-path

Clips painted content to a defined shape.

Accepted grammar
<clip-source> | [ <basic-shape> || <geometry-box> ] | none
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { clip-path: inset(8px round 16px); }

Inspect .sample in the block context. Clips painted content to a defined shape. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: mix-blend-mode

Blends an element with its backdrop; test contrast and stacking effects.

Accepted grammar
<blend-mode> | plus-darker | plus-lighter
Initial value
"normal"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { mix-blend-mode: multiply; }

Inspect .sample in the block context. Blends an element with its backdrop; test contrast and stacking effects. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: isolation

Creates an isolated stacking context for compositing.

Accepted grammar
auto | isolate
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { isolation: isolate; }

Inspect .sample in the block context. Creates an isolated stacking context for compositing. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: resize

Allows user resizing when the element and overflow context support it.

Accepted grammar
none | both | horizontal | vertical | block | inline
Initial value
"none"
Inherited
False
Layout context
constrained scrolling box
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { resize: both; }

Inspect .sample in the constrained scrolling box context. Allows user resizing when the element and overflow context support it. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: cursor

Changes the pointer indicator; it does not implement interactivity.

Accepted grammar
[ [ <url> [ <x> <y> ]? , ]* <cursor-predefined> ]
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { cursor: pointer; }

Inspect .sample in the block context. Changes the pointer indicator; it does not implement interactivity. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: pointer-events

Changes pointer hit testing; it does not necessarily remove keyboard focus.

Accepted grammar
auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit
Initial value
"auto"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { pointer-events: none; }

Inspect .sample in the block context. Changes pointer hit testing; it does not necessarily remove keyboard focus. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: user-select

Controls text selection; avoid disabling useful text selection unnecessarily.

Accepted grammar
auto | text | none | all
Initial value
"auto"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { user-select: none; }

Inspect .sample in the block context. Controls text selection; avoid disabling useful text selection unnecessarily. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: accent-color

Styles native control accents where supported.

Accepted grammar
auto | <color>
Initial value
"auto"
Inherited
True
Layout context
native control
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { accent-color: #234f9b; }

Inspect .sample in the native control context. Styles native control accents where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: appearance

Controls native platform appearance.

Accepted grammar
none | auto | <compat-auto> | <compat-special>
Initial value
"none"
Inherited
False
Layout context
native control
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { appearance: auto; }

Inspect .sample in the native control context. Controls native platform appearance. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: caret-color

Sets the text insertion caret color.

Accepted grammar
auto | <color>
Initial value
"auto"
Inherited
True
Layout context
native control
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { caret-color: #a44322; }

Inspect .sample in the native control context. Sets the text insertion caret color. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: color-scheme

Declares supported color schemes for native browser UI.

Accepted grammar
normal | [ light | dark | <custom-ident> ]+ && only?
Initial value
"normal"
Inherited
True
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { color-scheme: light dark; }

Inspect .sample in the block context. Declares supported color schemes for native browser UI. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: content

Generates content for pseudo-elements; do not use it as the sole essential label.

Accepted grammar
normal | none | [ <content-replacement> | <content-list> ] [ / [ <string> | <counter> | <attr()> ]+ ]?
Initial value
"normal"
Inherited
False
Layout context
pseudo-element
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample::before { content: "Note: "; }

Inspect .sample::before in the pseudo-element context. Generates content for pseudo-elements; do not use it as the sole essential label. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: contain

Introduces containment with layout/painting implications.

Accepted grammar
none | strict | content | [ [ size || inline-size ] || layout || style || paint ]
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { contain: layout paint; }

Inspect .sample in the block context. Introduces containment with layout/painting implications. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: content-visibility

Allows rendering work to be skipped for off-screen content where supported.

Accepted grammar
visible | auto | hidden
Initial value
"visible"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { content-visibility: auto; }

Inspect .sample in the block context. Allows rendering work to be skipped for off-screen content where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: contain-intrinsic-size

Supplies a placeholder intrinsic size with relevant containment features.

Accepted grammar
[ auto? [ none | <length> ] ]{1,2}
Initial value
{"contain-intrinsic-width": "none", "contain-intrinsic-height": "none"}
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { contain-intrinsic-size: 300px; }

Inspect .sample in the block context. Supplies a placeholder intrinsic size with relevant containment features. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: container-type

Establishes a size-query container along the inline axis.

Accepted grammar
normal | [ [ size | inline-size ] || scroll-state ]
Initial value
"normal"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { container-type: inline-size; }

Inspect .sample in the block context. Establishes a size-query container along the inline axis. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: container-name

Names a query container.

Accepted grammar
none | <custom-ident>+
Initial value
"none"
Inherited
False
Layout context
block
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { container-name: card-region; }

Inspect .sample in the block context. Names a query container. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: columns

Requests a multi-column layout with a target count/width.

Accepted grammar
[ <'column-width'> || <'column-count'> ] [ / <'column-height'> ]?
Initial value
{"column-width": "auto", "column-count": "auto", "column-height": "auto"}
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { columns: 2 14rem; }

Inspect .sample in the multicolumn or paged media context. Requests a multi-column layout with a target count/width. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: column-count

Requests the number of multicolumn tracks.

Accepted grammar
<integer> | auto
Initial value
"auto"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { column-count: 2; }

Inspect .sample in the multicolumn or paged media context. Requests the number of multicolumn tracks. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: column-width

Requests a target multicolumn width.

Accepted grammar
auto | <length [0,∞]>
Initial value
"auto"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { column-width: 14rem; }

Inspect .sample in the multicolumn or paged media context. Requests a target multicolumn width. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: column-rule

Draws a rule between multicolumn tracks.

Accepted grammar
<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>
Initial value
{"column-rule-width": "medium", "column-rule-style": "none", "column-rule-color": "currentcolor"}
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { column-rule: 1px solid #789; }

Inspect .sample in the multicolumn or paged media context. Draws a rule between multicolumn tracks. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: column-span

Lets a child span multicolumn tracks where supported.

Accepted grammar
none | all
Initial value
"none"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { column-span: all; }

Inspect .sample in the multicolumn or paged media context. Lets a child span multicolumn tracks where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: break-inside

Discourages fragmentation within a box.

Accepted grammar
auto | avoid | avoid-page | avoid-column | avoid-region
Initial value
"auto"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { break-inside: avoid; }

Inspect .sample in the multicolumn or paged media context. Discourages fragmentation within a box. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: break-before

Requests a fragmentation break before an element in applicable media.

Accepted grammar
auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region
Initial value
"auto"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { break-before: page; }

Inspect .sample in the multicolumn or paged media context. Requests a fragmentation break before an element in applicable media. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: break-after

Discourages a break after an element.

Accepted grammar
auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region
Initial value
"auto"
Inherited
False
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { break-after: avoid; }

Inspect .sample in the multicolumn or paged media context. Discourages a break after an element. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: widows

Sets a minimum number of lines at the start of a fragment where supported.

Accepted grammar
<integer>
Initial value
"2"
Inherited
True
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { widows: 3; }

Inspect .sample in the multicolumn or paged media context. Sets a minimum number of lines at the start of a fragment where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference
CSS: orphans

Sets a minimum number of lines at the end of a fragment where supported.

Accepted grammar
<integer>
Initial value
"2"
Inherited
True
Layout context
multicolumn or paged media
Standards status
standard; consult current compatibility and actual CSS.supports.
.sample { orphans: 3; }

Inspect .sample in the multicolumn or paged media context. Sets a minimum number of lines at the end of a fragment where supported. The browser’s CSS.supports and computed-style report are the authority for this installed browser; a declaration can be valid but depend on additional layout or font conditions.

Common mistake: assuming valid syntax guarantees a visible effect without the right context, content, fonts or property dependencies. Inspect the actual computed value and geometry.

Edit Property and Render Official property and compatibility reference