MDN self-hosted library · e01.org

`symbols()` CSS function

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
symbols() = symbols( <symbols-type>? [ <string> | <image> ]+ );
html
<ol>
  <li>One</li>
  <li>Two</li>
  <li>Three</li>
  <li>Four</li>
  <li>Five</li>
</ol>
css
ol {
  list-style: symbols(cyclic "*" "†" "‡");
}