Меню
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON PHP КАК СДЕЛАТЬ
     ❯   

CSS Справочники


CSS Свойства





list-style



Example

Specify all the list properties in one declaration:

ul {
  list-style: square inside url("sqpurple.gif");
}
Try it Yourself »

Definition list-style

The list-style property is a shorthand for the following properties:

If one of the values are missing, the default value for that property will be used.

Show demo ❯

Default value: disc outside none
Inherited: yes
Animatable: no. Read about animatable
Version: CSS1
JavaScript syntax: object.style.listStyle="decimal inside" Try it

Browser Support list-style

The numbers in the table specify the first browser version that fully supports the property.

Property
list-style 1.0 4.0 1.0 1.0 7.0


CSS Syntax list-style

list-style: list-style-type list-style-position list-style-image|initial|inherit;

Property Values list-style

Value Description Demo
list-style-type Specifies the type of list-item marker. Default value is "disc" Demo ❯
list-style-position Specifies where to place the list-item marker. Default value is "outside" Demo ❯
list-style-image Specifies the type of list-item marker. Default value is "none" Demo ❯
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

Related Pages list-style

CSS tutorial: CSS List

HTML DOM reference: listStyle property



×

Связаться с отделом продаж

Если вы хотите использовать услуги schoolsw3 как образовательное учреждение, команда или предприятие, отправьте нам электронное письмо:
sales@schoolsw3.com

Сообщить об ошибке

Если вы хотите сообщить об ошибке или внести предложение, отправьте нам электронное письмо:
help@schoolsw3.com

Schoolsw3 оптимизирован для обучения и подготовки. Примеры могут быть упрощены для улучшения чтения и обучения. Учебники, ссылки и примеры постоянно проверяются, чтобы избежать ошибок, но мы не можем гарантировать полную правильность всего контента.
При использовании Schoolsw3 вы соглашаетесь прочитать и принять наши условия использования,
политику использования файлов cookie и конфиденциальности.

Авторское право 1999- © Copyright. Все права защищены. Schoolsw3 работает на SW3.CSS.