Spec-Zone.ru › CSS

list-style-type

Baseline Широко доступно

Эта функция хорошо зарекомендовала себя и работает на многих устройствах и версиях браузеров. Она доступна в браузерах с июля 2015 года.

  • Подробнее
  • Полная совместимость
  • Отправить отзыв

Свойство list-style-type CSS задаёт маркер (например, диск, символ или пользовательский стиль счётчика) для элемента списка.

Попробуйте

Маркер будет currentcolor, таким же, как и вычисленный цвет элемента, к которому он применяется.

Только несколько элементов (<li> и <summary>) имеют значение по умолчанию display: list-item. Однако свойство list-style-type может быть применено к любому элементу, значение display которого установлено в list-item. Кроме того, поскольку это свойство наследуется, его можно установить для родительского элемента (часто <ol> или <ul>), чтобы оно применялось ко всем элементам списка.

Синтаксис

/* Partial list of types */
list-style-type: disc;
list-style-type: circle;
list-style-type: square;
list-style-type: decimal;
list-style-type: georgian;
list-style-type: trad-chinese-informal;
list-style-type: kannada;

/* <string> value */
list-style-type: "-";

/* Identifier matching an @counter-style rule */
list-style-type: custom-counter-style;

/* Keyword value */
list-style-type: none;

/* Global values */
list-style-type: inherit;
list-style-type: initial;
list-style-type: revert;
list-style-type: revert-layer;
list-style-type: unset;

Свойство list-style-type можно определить как одно из:

  • значение <custom-ident>,
  • значение symbols(),
  • значение <string> или
  • ключевое слово none.

Обратите внимание:

  • Для корректного отображения некоторых типов требуется соответствующий шрифт.
  • cjk-ideographic идентично trad-chinese-informal; оно существует по причинам обратной совместимости.

Значения

<custom-ident>

Идентификатор, соответствующий значению @counter-style или одному из предопределённых стилей:

symbols()

Определяет анонимный стиль списка.

<string>

Указанная строка будет использоваться в качестве маркера элемента.

none

Маркер элемента не отображается.

disc

Заполненный круг (значение по умолчанию).

circle

Пустой круг.

square

Заполненный квадрат.

decimal

Десятичные числа, начиная с 1.

cjk-decimal

Десятичные числа для CJK.

decimal-leading-zero

Десятичные числа, дополненные начальными нулями.

lower-roman

Римские цифры строчными буквами.

upper-roman

Римские цифры прописными буквами.

lower-greek

Классические греческие строчные буквы.

lower-alpha, lower-latin

Строчные буквы латинского алфавита.

upper-alpha, upper-latin

Прописные буквы латинского алфавита.

arabic-indic, -moz-arabic-indic

Арабско-индийские числа.

armenian

Традиционная армянская нумерация.

bengali, -moz-bengali

Бенгальская нумерация.

cambodian/khmer

Кхмерская/камбоджийская нумерация.

cjk-earthly-branch, -moz-cjk-earthly-branch

Китайские «земные ветви».

cjk-heavenly-stem, -moz-cjk-heavenly-stem

Китайские «небесные стволы».

cjk-ideographic

Идентично trad-chinese-informal.

devanagari, -moz-devanagari

Деванагари нумерация.

ethiopic-numeric

Эфиопская нумерация.

georgian

Традиционная грузинская нумерация.

gujarati, -moz-gujarati

Гуджаратская нумерация.

gurmukhi, -moz-gurmukhi

Гурмухи нумерация.

hebrew

Традиционная еврейская нумерация.

hiragana

Хирагана в лексикографическом порядке.

hiragana-iroha

Хирагана в порядке Ироха.

japanese-formal

Японская формальная нумерация, используемая в юридических или финансовых документах. Иероглифы спроектированы так, чтобы их нельзя было изменить, чтобы они выглядели как другой правильный.

japanese-informal

Японская неформальная нумерация.

kannada, -moz-kannada

Каннада нумерация.

katakana

Катакана в лексикографическом порядке.

katakana-iroha

Катакана в порядке Ироха.

korean-hangul-formal

Корейская нумерация хангул.

korean-hanja-formal

Формальная корейская нумерация ханья.

korean-hanja-informal

Неформальная корейская нумерация ханья.

lao, -moz-lao

Лаосская нумерация.

lower-armenian

Армянская нумерация строчными буквами.

malayalam, -moz-malayalam

Малаяламская нумерация.

mongolian

Монгольская нумерация.

myanmar, -moz-myanmar

Бирманская нумерация.

oriya, -moz-oriya

Ория нумерация.

persian, -moz-persian

Персидская нумерация.

simp-chinese-formal

Упрощённое китайское формальное счисление.

simp-chinese-informal

Упрощённое китайское неформальное счисление.

tamil, -moz-tamil

Тамильская нумерация.

telugu, -moz-telugu

Телугу нумерация.

thai, -moz-thai

Тайская нумерация.

tibetan

Тибетская нумерация.

trad-chinese-formal

Традиционное формальное китайское счисление.

trad-chinese-informal

Традиционное неформальное китайское счисление.

upper-armenian

Традиционная армянская нумерация прописными буквами.

disclosure-open

Символ, показывающий, что раскрывающийся элемент, например <details>, открыт.

disclosure-closed

Символ, показывающий, что раскрывающийся элемент, например <details>, закрыт.

Обратитесь к примеру Все типы стилей списков, чтобы увидеть вышеперечисленные значения в действии. Подробности всех доступных стилей счётчиков, используемых различными культурами по всему миру, можно найти в Готовые стили счётчиков.

END_OF_DOCUMENT_MARKER

Нестандартные расширения

Несколько предопределённых типов поддерживаются Mozilla (Firefox) с префиксом -moz-.

  • ethiopic-halehame: -moz-ethiopic-halehame
  • ethiopic-halehame-am: -moz-ethiopic-halehame-am
  • ethiopic-halehame-ti-er: -moz-ethiopic-halehame-ti-er
  • ethiopic-halehame-ti-et: -moz-ethiopic-halehame-ti-et
  • ethiopic-numeric: -moz-ethiopic-numeric
  • hangul: -moz-hangul
  • hangul-consonant: -moz-hangul-consonant
  • urdu: -moz-urdu

См. таблицу совместимости, чтобы проверить, какие браузеры поддерживают какое расширение.

Универсальный доступ

Safari не распознает упорядоченный или неупорядоченный список как список в дереве универсального доступа, если у него есть значение list-style-type равное none. Это можно исправить, добавив role="list" в открывающий тег списка. Чтобы узнать больше об этом и возможных решениях, см. list-style.

Формальное определение

Начальное значение disc
Применимо к элементам списка
Наследуется да
Вычисленное значение как указано
Тип анимации дискретный

Формальный синтаксис

list-style-type = 
<counter-style> |
<string> |
none

<counter-style> =
<counter-style-name> |
<symbols()>

<symbols()> =
symbols( <symbols-type>? [ <string> | <image> ]+ )

<symbols-type> =
cyclic |
numeric |
alphabetic |
symbolic |
fixed

<image> =
<url> |
<gradient>

<url> =
<url()> |
<src()>

<url()> =
url( <string> <url-modifier>* ) |
<url-token>

<src()> =
src( <string> <url-modifier>* )

Примеры

Установка маркеров элементов списка

HTML

List 1
<ol class="normal">
  <li>Hello</li>
  <li>World</li>
  <li>What's up?</li>
</ol>

List 2
<ol class="shortcut">
  <li>Looks</li>
  <li>Like</li>
  <li>The</li>
  <li>Same</li>
</ol>

CSS

ol.normal {
  list-style-type: upper-alpha;
}

/* or use the shortcut "list-style": */
ol.shortcut {
  list-style: upper-alpha;
}

Результат

Все типы стилей списков

HTML

<ol>
  <li>Apollo</li>
  <li>Hubble</li>
  <li>Chandra</li>
  <li>Cassini-Huygens</li>
  <li>Spitzer</li>
</ol>

<h2>Choose a list style type:</h2>

<div class="container">
  <label for="disc">
    <input type="radio" id="disc" name="type" value="disc" />disc
  </label>

  <label for="circle">
    <input type="radio" id="circle" name="type" value="circle" />circle
  </label>

  <label for="square">
    <input type="radio" id="square" name="type" value="square" />square
  </label>

  <label for="decimal">
    <input type="radio" id="decimal" name="type" value="decimal" />decimal
  </label>

  <label for="cjk-decimal">
    <input
      type="radio"
      id="cjk-decimal"
      name="type"
      value="cjk-decimal" />cjk-decimal
  </label>

  <label for="decimal-leading-zero">
    <input
      type="radio"
      id="decimal-leading-zero"
      name="type"
      value="decimal-leading-zero" />decimal-leading-zero
  </label>

  <label for="lower-roman">
    <input
      type="radio"
      id="lower-roman"
      name="type"
      value="lower-roman" />lower-roman
  </label>

  <label for="upper-roman">
    <input
      type="radio"
      id="upper-roman"
      name="type"
      value="upper-roman" />upper-roman
  </label>

  <label for="lower-greek">
    <input
      type="radio"
      id="lower-greek"
      name="type"
      value="lower-greek" />lower-greek
  </label>

  <label for="lower-alpha">
    <input
      type="radio"
      id="lower-alpha"
      name="type"
      value="lower-alpha" />lower-alpha, lower-latin
  </label>

  <label for="upper-alpha">
    <input
      type="radio"
      id="upper-alpha"
      name="type"
      value="upper-alpha" />upper-alpha, upper-latin
  </label>

  <label for="arabic-indic">
    <input
      type="radio"
      id="arabic-indic"
      name="type"
      value="arabic-indic" />arabic-indic
  </label>

  <label for="armenian">
    <input type="radio" id="armenian" name="type" value="armenian" />armenian
  </label>

  <label for="bengali">
    <input type="radio" id="bengali" name="type" value="bengali" />bengali
  </label>

  <label for="cambodian">
    <input type="radio" id="cambodian" name="type" value="cambodian" />cambodian
  </label>

  <label for="cjk-earthly-branch">
    <input
      type="radio"
      id="cjk-earthly-branch"
      name="type"
      value="cjk-earthly-branch" />cjk-earthly-branch
  </label>

  <label for="cjk-heavenly-stem">
    <input
      type="radio"
      id="cjk-heavenly-stem"
      name="type"
      value="cjk-heavenly-stem" />cjk-heavenly-stem
  </label>

  <label for="cjk-ideographic">
    <input
      type="radio"
      id="cjk-ideographic"
      name="type"
      value="cjk-ideographic" />cjk-ideographic
  </label>

  <label for="devanagari">
    <input
      type="radio"
      id="devanagari"
      name="type"
      value="devanagari" />devanagari
  </label>

  <label for="ethiopic-numeric">
    <input
      type="radio"
      id="ethiopic-numeric"
      name="type"
      value="ethiopic-numeric" />ethiopic-numeric
  </label>

  <label for="georgian">
    <input type="radio" id="georgian" name="type" value="georgian" />georgian
  </label>

  <label for="gujarati">
    <input type="radio" id="gujarati" name="type" value="gujarati" />gujarati
  </label>

  <label for="gurmukhi">
    <input type="radio" id="gurmukhi" name="type" value="gurmukhi" />gurmukhi
  </label>

  <label for="hebrew">
    <input type="radio" id="hebrew" name="type" value="hebrew" />hebrew
  </label>

  <label for="hiragana">
    <input type="radio" id="hiragana" name="type" value="hiragana" />hiragana
  </label>

  <label for="hiragana-iroha">
    <input
      type="radio"
      id="hiragana-iroha"
      name="type"
      value="hiragana-iroha" />hiragana-iroha
  </label>

  <label for="japanese-formal">
    <input
      type="radio"
      id="japanese-formal"
      name="type"
      value="japanese-formal" />japanese-formal
  </label>

  <label for="japanese-informal">
    <input
      type="radio"
      id="japanese-informal"
      name="type"
      value="japanese-informal" />japanese-informal
  </label>

  <label for="kannada">
    <input type="radio" id="kannada" name="type" value="kannada" />kannada
  </label>

  <label for="katakana">
    <input type="radio" id="katakana" name="type" value="katakana" />katakana
  </label>

  <label for="katakana-iroha">
    <input
      type="radio"
      id="katakana-iroha"
      name="type"
      value="katakana-iroha" />katakana-iroha
  </label>

  <label for="khmer">
    <input type="radio" id="khmer" name="type" value="khmer" />khmer
  </label>

  <label for="korean-hangul-formal">
    <input
      type="radio"
      id="korean-hangul-formal"
      name="type"
      value="korean-hangul-formal" />korean-hangul-formal
  </label>

  <label for="korean-hanja-formal">
    <input
      type="radio"
      id="korean-hanja-formal"
      name="type"
      value="korean-hanja-formal" />korean-hanja-formal
  </label>

  <label for="korean-hanja-informal">
    <input
      type="radio"
      id="korean-hanja-informal"
      name="type"
      value="korean-hanja-informal" />korean-hanja-informal
  </label>

  <label for="lao">
    <input type="radio" id="lao" name="type" value="lao" />lao
  </label>

  <label for="lower-armenian">
    <input
      type="radio"
      id="lower-armenian"
      name="type"
      value="lower-armenian" />lower-armenian
  </label>

  <label for="malayalam">
    <input type="radio" id="malayalam" name="type" value="malayalam" />malayalam
  </label>

  <label for="mongolian">
    <input type="radio" id="mongolian" name="type" value="mongolian" />mongolian
  </label>

  <label for="myanmar">
    <input type="radio" id="myanmar" name="type" value="myanmar" />myanmar
  </label>

  <label for="oriya">
    <input type="radio" id="oriya" name="type" value="oriya" />oriya
  </label>

  <label for="persian">
    <input type="radio" id="persian" name="type" value="persian" />persian
  </label>

  <label for="simp-chinese-formal">
    <input
      type="radio"
      id="simp-chinese-formal"
      name="type"
      value="simp-chinese-formal" />simp-chinese-formal
  </label>

  <label for="simp-chinese-informal">
    <input
      type="radio"
      id="simp-chinese-informal"
      name="type"
      value="simp-chinese-informal" />simp-chinese-informal
  </label>

  <label for="tamil">
    <input type="radio" id="tamil" name="type" value="tamil" />tamil
  </label>

  <label for="telugu">
    <input type="radio" id="telugu" name="type" value="telugu" />telugu
  </label>

  <label for="thai">
    <input type="radio" id="thai" name="type" value="thai" />thai
  </label>

  <label for="tibetan">
    <input type="radio" id="tibetan" name="type" value="tibetan" />tibetan
  </label>

  <label for="trad-chinese-formal">
    <input
      type="radio"
      id="trad-chinese-formal"
      name="type"
      value="trad-chinese-formal" />trad-chinese-formal
  </label>

  <label for="trad-chinese-informal">
    <input
      type="radio"
      id="trad-chinese-informal"
      name="type"
      value="trad-chinese-informal" />trad-chinese-informal
  </label>

  <label for="upper-armenian">
    <input
      type="radio"
      id="upper-armenian"
      name="type"
      value="upper-armenian" />upper-armenian
  </label>

  <label for="disclosure-open">
    <input
      type="radio"
      id="disclosure-open"
      name="type"
      value="disclosure-open" />disclosure-open
  </label>

  <label for="disclosure-closed">
    <input
      type="radio"
      id="disclosure-closed"
      name="type"
      value="disclosure-closed" />disclosure-closed
  </label>

  <label for="-moz-ethiopic-halehame">
    <input
      type="radio"
      id="-moz-ethiopic-halehame"
      name="type"
      value="-moz-ethiopic-halehame" />-moz-ethiopic-halehame
  </label>

  <label for="-moz-ethiopic-halehame-am">
    <input
      type="radio"
      id="-moz-ethiopic-halehame-am"
      name="type"
      value="-moz-ethiopic-halehame-am" />-moz-ethiopic-halehame-am
  </label>

  <label for="ethiopic-halehame-ti-er">
    <input
      type="radio"
      id="ethiopic-halehame-ti-er"
      name="type"
      value="ethiopic-halehame-ti-er" />ethiopic-halehame-ti-er
  </label>

  <label for="ethiopic-halehame-ti-et">
    <input
      type="radio"
      id="ethiopic-halehame-ti-et"
      name="type"
      value="ethiopic-halehame-ti-et" />ethiopic-halehame-ti-et
  </label>

  <label for="hangul">
    <input type="radio" id="hangul" name="type" value="hangul" />hangul
  </label>

  <label for="hangul-consonant">
    <input
      type="radio"
      id="hangul-consonant"
      name="type"
      value="hangul-consonant" />hangul-consonant
  </label>

  <label for="urdu">
    <input type="radio" id="urdu" name="type" value="urdu" />urdu
  </label>

  <label for="-moz-ethiopic-halehame-ti-er">
    <input
      type="radio"
      id="-moz-ethiopic-halehame-ti-er"
      name="type"
      value="-moz-ethiopic-halehame-ti-er" />-moz-ethiopic-halehame-ti-er
  </label>

  <label for="-moz-ethiopic-halehame-ti-et">
    <input
      type="radio"
      id="-moz-ethiopic-halehame-ti-et"
      name="type"
      value="-moz-ethiopic-halehame-ti-et" />-moz-ethiopic-halehame-ti-et
  </label>

  <label for="-moz-hangul">
    <input
      type="radio"
      id="-moz-hangul"
      name="type"
      value="-moz-hangul" />-moz-hangul
  </label>

  <label for="-moz-hangul-consonant">
    <input
      type="radio"
      id="-moz-hangul-consonant"
      name="type"
      value="-moz-hangul-consonant" />-moz-hangul-consonant
  </label>

  <label for="-moz-urdu">
    <input type="radio" id="-moz-urdu" name="type" value="-moz-urdu" />-moz-urdu
  </label>
</div>

CSS

ol {
  font-size: 1.2rem;
}

.container {
  column-count: 3;
}

label {
  display: block;
}

input {
  margin: 0.4rem;
}

JavaScript

const container = document.querySelector(".container");
const list = document.querySelector("ol");

container.addEventListener("change", (event) => {
  list.setAttribute("style", `list-style-type: ${event.target.value}`);
});

Результат

Мы не ограничены типами стилей списков, определёнными на этой странице или в спецификации. Правило @counter-style позволяет создавать счётчики, используя любой алфавит.

Спецификации

Спецификация
CSS Модуль списков и счётчиков (уровень 3)
# text-markers
CSS Модуль стилей счётчиков (уровень 3)
# extending-css2

Совместимость браузеров

Настольный Мобильный
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari на IOS Samsung Internet WebView Android
list-style-type 1 12 1 3.5 1 18 4 10.1 1 1.0 ≤4.4
afar 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
amharic 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
amharic-abegede 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
arabic-indic 6 79 331 15 5 18 334 14 4.2 1.0 4.4
armenian 1 12 1 6 1 18 4 10.1 1 1.0 4.4
asterisks 9113–45 91 No 7715–32 5.1 9118–45 No 6414–32 5 16.01.0–5.0 914.4–45
bengali 6 79 331 15 5 18 334 14 4.2 1.0 4.4
binary 9113–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
cambodian 6 79 33 15 5 18 33 14 4.2 1.0 4.4
circle 1 12 1 3.5 1 18 4 10.1 1 1.0 4.4
cjk-decimal 91 91 28 77 15 91 28 64 15 16.0 91
cjk-earthly-branch 6 79 331 15 5 18 334 14 4.2 1.0 4.4
cjk-heavenly-stem 6 79 331 15 5 18 334 14 4.2 1.0 4.4
cjk-ideographic 1 79 1 15
7До версии 15 отображались только десятичные числа.
5 18 4 14
10.1До версии 15 отображались только десятичные числа.
4.2 1.0 4.4
decimal 1 12 1 3.5 1 18 4 10.1 1 1.0 4.4
decimal-leading-zero 1 12 1 8 1 18 4 10.1 1 1.0 4.4
devanagari 6 79 331 15 5 18 334 14 4.2 1.0 4.4
disc 1 12 1 3.5 1 18 4 10.1 1 1.0 4.4
disclosure-closed 89 89 33 75 15 89 33 63 15 15.0 89
disclosure-open 89 89 33 75 15 89 33 63 15 15.0 89
ethiopic 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-abegede 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-abegede-am-et 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-abegede-gez 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-abegede-ti-er 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-abegede-ti-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame 45 79 1 32 17 45 4 32 17 5.0 45
ethiopic-halehame-aa-er 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-aa-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-am 45 79 1 32 17 45 4 32 17 5.0 45
ethiopic-halehame-am-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-gez 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-om-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-sid-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-so-et 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-halehame-ti-er 6 79 1 15 5 18 4 14 4.2 1.0 3
ethiopic-halehame-ti-et 6 79 1 15 5 18 4 14 4.2 1.0 3
ethiopic-halehame-tig 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
ethiopic-numeric 91 91
33До Firefox 38, Firefox добавлял точку в качестве суффикса числа для ethiopic-numeric (например, ፫. вместо ፫). Позже в спецификации было определено отсутствие суффикса, которому следовал Firefox 38.
1
77 15 91
33До Firefox 38, Firefox добавлял точку в качестве суффикса числа для ethiopic-numeric (например, ፫. вместо ፫). Позже в спецификации было определено отсутствие суффикса, которому следовал Firefox 38.
4
64 15 16.0 91
footnotes 9113–45 91 Нет 7715–32 5.1 9118–45 Нет 6414–32 5 16.01.0–5.0 914.4–45
georgian 1 12 1 6 1 18 4 10.1 1 1.0 4.4
gujarati 6 79 331 15 5 18 334 14 4.2 1.0 4.4
gurmukhi 6 79 331 15 5 18 334 14 4.2 1.0 4.4
hangul 6 79 1 15 5 18 4 14 4.2 1.0 4.4
hangul-consonant 6 79 1 15 5 18 4 14 4.2 1.0 4.4
hebrew 1 12 1 15 1 18 4 14 1 1.0 4.4
hiragana 1 12 1 15 1 18 4 14 1 1.0 4.4
hiragana-iroha 1 12 1 15 1 18 4 14 1 1.0 4.4
japanese-formal 91 91 281 77 15 91 284 64 15 16.0 91
japanese-informal 91 91 281 77 15 91 284 64 15 16.0 91
kannada 6 79 331 15 5 18 334 14 4.2 1.0 4.4
katakana 1 12 1 15 1 18 4 14 1 1.0 4.4
katakana-iroha 1 12 1 15 1 18 4 14 1 1.0 4.4
khmer 6 79 331 15 5 18 334 14 4.2 1.0 4.4
korean-hangul-formal 45 79 28 32 15 45 28 32 15 5.0 45
korean-hanja-formal 45 79 28 32 15 45 28 32 15 5.0 45
korean-hanja-informal 45 79 28 32 15 45 28 32 15 5.0 45
lao 6 79 331 15 5 18 334 14 4.2 1.0 4.4
lower-alpha 1 12 1 6 1 18 4 10.1 1 1.0 4.4
lower-armenian 13 79 33 15 5.1 18 33 14 5 1.0 4.4
lower-greek 1 12 1 6 1 18 4 10.1 1 1.0 4.4
lower-hexadecimal 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
lower-latin 1 12 1 6 1 18 4 10.1 1 5.0 4.4
lower-norwegian 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 3–45
lower-roman 1 12 1 6 1 18 4 10.1 1 1.0 4.4
malayalam 6 79 331 15 5 18 334 14 4.2 1.0 4.4
mongolian 6 79 33 15 5 18 33 14 4.2 1.0 4.4
myanmar 6 79 331 15 5 18 334 14 4.2 1.0 4.4
none 1 12 ≤72 15 1 18 79 14 1 1.0 4.4
octal 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 914.4–45
oriya 6 79 331 15 5 18 334 14 4.2 1.0 4.4
oromo 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 914.4–45
persian 6 79 331 15 5 18 334 14 4.2 1.0 4.4
sidama 916–45 91 Нет 7715–32 5 9118–45 Нет 6414–32 4.2 16.01.0–5.0 914.4–45
simp-chinese-formal 45 79 281 32 15 45 284 32 15 5.0 45
simp-chinese-informal 45 79 281 32 15 45 284 32 15 5.0 45
somali 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
square 1 12 1 3.5 1 18 4 10.1 1 1.0 4.4
string 79 79 39 66 14.1 79 39 57 14.5 12.0 79
symbols No No 35 No No No 35 No No No No
tamil 91 91 331 77 15 91 334 64 15 16.0 91
telugu 6 79 331 15 5 18 334 14 4.2 1.0 4.4
thai 6 79 331 15 5 18 334 14 4.2 1.0 4.4
tibetan 6 79 33 15 5 18 33 14 4.2 1.0 4.4
tigre 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
tigrinya-er 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
tigrinya-er-abegede 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
tigrinya-et 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
tigrinya-et-abegede 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 914.4–45
trad-chinese-formal 45 79 281 32 15 45 284 32 15 5.0 45
trad-chinese-informal 45 79 281 32 15 45 284 32 15 5.0 45
upper-alpha 1 12 1 6 1 18 4 10.1 1 1.0 4.4
upper-armenian 13 79 33 15 5.1 18 33 14 5 1.0 4.4
upper-greek 911–45 9112–79 No 6 1 9118–45 No 10.1 1 16.01.0–5.0 914.4–45
upper-hexadecimal 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
upper-latin 1 12 1 6 1 18 4 10.1 1 1.0 4.4
upper-norwegian 916–45 91 No 7715–32 5 9118–45 No 6414–32 4.2 16.01.0–5.0 3–45
upper-roman 1 12 1 6 1 18 4 10.1 1 1.0 4.4
urdu 6 79 33 15 5 18 33 14 4.2 1.0 4.4

См. также

  • list-style сокращенное свойство
  • list-style-image свойство
  • list-style-position свойство
  • ::marker псевдоэлемент
  • Модуль CSS списков и счетчиков
  • Модуль стилей счетчиков CSS

© 2005–2024 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API