Свойство CSS `list-style-type`
Базовая поддержка Широко доступно
Эта функция хорошо зарекомендовала себя и работает на многих устройствах и в различных версиях браузеров. Она доступна во всех браузерах с июля 2015 года.
Свойство list-style-type CSS задаёт маркер (например, точку, символ или пользовательский стиль счётчика) элемента списка.
Попробуйте
list-style-type: space-counter;
list-style-type: disc;
list-style-type: circle;
list-style-type: "\1F44D";
<section class="default-example" id="default-example">
<div>
<p>NASA Notable Missions</p>
<ul class="transition-all unhighlighted" id="example-element">
<li>Apollo</li>
<li>Hubble</li>
<li>Chandra</li>
<li>Cassini-Huygens</li>
</ul>
</div>
<hr />
<div class="note">
<p>
<code>space-counter</code> is defined with
<a
href="//developer.mozilla.org/docs/Web/CSS/Reference/At-rules/@counter-style"
target="_parent"
><code>@counter-style</code></a
>
</p>
</div>
</section>
.default-example {
font-size: 1.2rem;
}
#example-element {
width: 100%;
background: #be094b;
color: white;
}
section {
text-align: left;
flex-direction: column;
}
hr {
width: 50%;
color: lightgray;
margin: 0.5em;
}
.note {
font-size: 0.8rem;
}
.note a {
color: #009e5f;
}
@counter-style space-counter {
symbols: "\1F680" "\1F6F8" "\1F6F0" "\1F52D";
suffix: " ";
}
Синтаксис
/* 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 - Десятичные числа ханьского письма.
-
decimal-leading-zero - Десятичные числа с ведущими нулями.
-
lower-roman - Строчные римские цифры.
-
upper-roman - Заглавные римские цифры.
-
lower-greek - Строчные буквы классического греческого алфавита.
-
lower-alpha,lower-latin - Строчные буквы ASCII.
-
upper-alpha,upper-latin - Заглавные буквы ASCII.
-
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>, закрыт.
См. пример «Все типы стилей списка», чтобы увидеть перечисленные выше значения в действии. Подробные сведения обо всех доступных стилях счётчиков, используемых в разных культурах мира, можно найти в документе «Готовые стили счётчиков».
Нестандартные расширения
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
См. таблицу совместимости, чтобы узнать, какие браузеры поддерживают то или иное расширение.
Описание
Свойство list-style-type задаёт маркер (например, точку, символ или пользовательский стиль счётчика) элемента списка. Маркер будет иметь цвет currentColor, то есть такой же, как вычисленное значение свойства color элемента, к которому оно применяется.
Только у нескольких элементов (<li> и <summary>) значение по умолчанию — display: list-item. Однако свойство list-style-type можно применить к любому элементу, у которого значение свойства display задано как list-item.
Наследование стилей списка
Поскольку свойство list-style-type наследуется, его можно задать родительскому элементу (обычно <ol> или <ul>), чтобы оно применялось к элементам списка. Однако таблицы стилей пользовательского агента задают list-style-type для элементов <ul>, <ol> и <menu>, поэтому вложенные списки используют эти значения по умолчанию вместо наследования значения родительского списка. Чтобы вложенные списки наследовали это значение, задайте list-style-type: inherit для элементов вложенных списков.
Например, в случае такой разметки:
<ul>
<li>One</li>
<li>Two</li>
<li>
Three
<ul>
<li>Four</li>
<li>Five</li>
<li>Six</li>
</ul>
</li>
</ul>
Для внешнего списка задан пользовательский стиль:
body > ul {
list-style-type: square;
}
Внутренний список не унаследует пользовательский стиль, если не задать ему значение inherit:
ul ul {
list-style-type: inherit;
}
Доступность
Safari не распознаёт упорядоченный или неупорядоченный список как список в дереве доступности, если для него задано значение none свойства list-style-type. Это можно исправить, добавив role="list" в открывающий тег списка. Подробнее об этом и возможных способах обхода проблемы см. в разделе list-style.
Формальное определение
| Начальное значение | disc |
|---|---|
| Применяется к | элементам списка |
| Наследуется | да |
| Вычисленное значение | как задано |
| Тип анимации | дискретный |
Формальный синтаксис
list-style-type = <counter-style> | <string> | none <counter-style> = <counter-style-name> | symbols() <counter-style-name> = <custom-ident>
Примеры
Настройка маркеров элементов списка
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 Lists and Counters, уровень 3 # text-markers |
| Модуль CSS Counter Styles, уровень 3 # extending-css2 |
Совместимость с браузерами
| Компьютер | Мобильные устройства | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome для Android | Firefox для Android | Opera для Android | Safari на iOS | Samsung Internet | WebView для Android | WebView на iOS | |
list-style-type |
1 |
12 |
1 |
3.5 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
≤4.4 |
1 |
afar |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
amharic |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
amharic-abegede |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
arabic-indic |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
armenian |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
asterisks |
91
13–45
|
91 |
Нет |
77
15–32
|
5.1 |
91
18–45
|
Нет |
64
14–32
|
5 |
16.0
1.0–5.0
|
91
4.4–45
|
5 |
bengali |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
binary |
91
13–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
cambodian |
6 |
79 |
33 |
15 |
5 |
18 |
33 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
circle |
1 |
12 |
1 |
3.5 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
cjk-decimal |
91 |
91 |
28 |
77 |
15 |
91 |
28 |
64 |
15 |
16.0 |
91 |
15 |
cjk-earthly-branch |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
cjk-heavenly-stem |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
cjk-ideographic |
1 |
79 |
1 |
15
7–15До версии 15 отображаются только десятичные числа. |
5 |
18 |
4 |
14
10.1–14До версии 15 отображаются только десятичные числа. |
4.2 |
1.0 |
4.4 |
4.2 |
decimal |
1 |
12 |
1 |
3.5 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
decimal-leading-zero |
1 |
12 |
1 |
8 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
devanagari |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
disc |
1 |
12 |
1 |
3.5 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
disclosure-closed |
89 |
89 |
33 |
75 |
15 |
89 |
33 |
63 |
15 |
15.0 |
89 |
15 |
disclosure-open |
89 |
89 |
33 |
75 |
15 |
89 |
33 |
63 |
15 |
15.0 |
89 |
15 |
ethiopic |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-abegede |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-abegede-am-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-abegede-gez |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ethiopic-abegede-ti-er |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-abegede-ti-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame |
45 |
79 |
1 |
32 |
17 |
45 |
4 |
32 |
17 |
5.0 |
45 |
17 |
ethiopic-halehame-aa-er |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-aa-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-am |
45 |
79 |
1 |
32 |
17 |
45 |
4 |
32 |
17 |
5.0 |
45 |
17 |
ethiopic-halehame-am-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-gez |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-om-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-sid-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-halehame-so-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ethiopic-halehame-ti-er |
6 |
79 |
1 |
15 |
5 |
18 |
4 |
14 |
4.2 |
1.0 |
3 |
4.2 |
ethiopic-halehame-ti-et |
6 |
79 |
1 |
15 |
5 |
18 |
4 |
14 |
4.2 |
1.0 |
3 |
4.2 |
ethiopic-halehame-tig |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
ethiopic-numeric |
91 |
91 |
33До Firefox 38 Firefox добавлял точку в качестве суффикса числа дляethiopic-numeric (например, ፫. вместо ፫). Позднее в спецификации было определено отсутствие суффикса, и в Firefox 38 это изменение было реализовано.1
|
77 |
15 |
91 |
33До Firefox для Android 38 Firefox для Android добавлял точку в качестве суффикса числа дляethiopic-numeric (например, ፫. вместо ፫). Позднее в спецификации было определено отсутствие суффикса, и в Firefox для Android 38 это изменение было реализовано.4
|
64 |
15 |
16.0 |
91 |
15 |
footnotes |
91
13–45
|
91 |
Нет |
77
15–32
|
5.1 |
91
18–45
|
Нет |
64
14–32
|
5 |
16.0
1.0–5.0
|
91
4.4–45
|
5 |
georgian |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
gujarati |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
gurmukhi |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
hangul |
6 |
79 |
1 |
15 |
5 |
18 |
4 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
hangul-consonant |
6 |
79 |
1 |
15 |
5 |
18 |
4 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
hebrew |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
hiragana |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
hiragana-iroha |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
japanese-formal |
91 |
91 |
28
1
|
77 |
15 |
91 |
28
4
|
64 |
15 |
16.0 |
91 |
15 |
japanese-informal |
91 |
91 |
28
1
|
77 |
15 |
91 |
28
4
|
64 |
15 |
16.0 |
91 |
15 |
kannada |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
katakana |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
katakana-iroha |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
khmer |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
korean-hangul-formal |
45 |
79 |
28 |
32 |
15 |
45 |
28 |
32 |
15 |
5.0 |
45 |
15 |
korean-hanja-formal |
45 |
79 |
28 |
32 |
15 |
45 |
28 |
32 |
15 |
5.0 |
45 |
15 |
korean-hanja-informal |
45 |
79 |
28 |
32 |
15 |
45 |
28 |
32 |
15 |
5.0 |
45 |
15 |
lao |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
lower-alpha |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
lower-armenian |
13 |
79 |
33 |
15 |
5.1 |
18 |
33 |
14 |
5 |
1.0 |
4.4 |
5 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
lower-greek |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
lower-hexadecimal |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
lower-latin |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
5.0 |
4.4 |
1 |
lower-norwegian |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
lower-roman |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
malayalam |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
mongolian |
6 |
79 |
33 |
15 |
5 |
18 |
33 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
myanmar |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
none |
1 |
12 |
1 |
15 |
1 |
18 |
4 |
14 |
1 |
1.0 |
4.4 |
1 |
octal |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
oriya |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
oromo |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
persian |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
sidama |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
simp-chinese-formal |
45 |
79 |
28
1
|
32 |
15 |
45 |
28
4
|
32 |
15 |
5.0 |
45 |
15 |
simp-chinese-informal |
45 |
79 |
28
1
|
32 |
15 |
45 |
28
4
|
32 |
15 |
5.0 |
45 |
15 |
somali |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
square |
1 |
12 |
1 |
3.5 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
string |
79 |
79 |
39 |
66 |
14.1 |
79 |
39 |
57 |
14.5 |
12.0 |
79 |
14.5 |
symbols |
предварительная версия |
Нет |
35 |
Нет |
Нет |
Нет |
35 |
Нет |
Нет |
Нет |
Нет |
Нет |
tamil |
91 |
91 |
33
1
|
77 |
15 |
91 |
33
4
|
64 |
15 |
16.0 |
91 |
15 |
telugu |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
thai |
6 |
79 |
33
1
|
15 |
5 |
18 |
33
4
|
14 |
4.2 |
1.0 |
4.4 |
4.2 |
tibetan |
6 |
79 |
33 |
15 |
5 |
18 |
33 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
tigre |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
tigrinya-er |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
tigrinya-er-abegede |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
tigrinya-et |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
tigrinya-et-abegede |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
91
4.4–45
|
4.2 |
trad-chinese-formal |
45 |
79 |
28
1
|
32 |
15 |
45 |
28
4
|
32 |
15 |
5.0 |
45 |
15 |
trad-chinese-informal |
45 |
79 |
28
1
|
32 |
15 |
45 |
28
4
|
32 |
15 |
5.0 |
45 |
15 |
upper-alpha |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
upper-armenian |
13 |
79 |
33 |
15 |
5.1 |
18 |
33 |
14 |
5 |
1.0 |
4.4 |
5 |
upper-greek |
91
1–45
|
91
12–79
|
Нет |
6 |
1 |
91
18–45
|
Нет |
10.1 |
1 |
16.0
1.0–5.0
|
91
4.4–45
|
1 |
upper-hexadecimal |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
upper-latin |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
upper-norwegian |
91
6–45
|
91 |
Нет |
77
15–32
|
5 |
91
18–45
|
Нет |
64
14–32
|
4.2 |
16.0
1.0–5.0
|
3–45 |
4.2 |
upper-roman |
1 |
12 |
1 |
6 |
1 |
18 |
4 |
10.1 |
1 |
1.0 |
4.4 |
1 |
urdu |
6 |
79 |
33 |
15 |
5 |
18 |
33 |
14 |
4.2 |
1.0 |
4.4 |
4.2 |
См. также
-
list-styleсокращённое свойство -
list-style-imageсвойство -
list-style-positionсвойство -
::markerпсевдоэлемент - Списки и счётчики CSS — модуль
- Стили счётчиков CSS — модуль
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/list-style-type