All the list properties can be shortened by using the list-style shorthand property which combines multiple properties into one property.
Its values are discussed as
Value | Description |
list-style-type | Specifies the type of list-item marker. |
list-style-position | Specifies where to place the list-item marker. |
list-style-image | Specifies the type of list-item marker. |
It is used as
ul { list-style: alpha inside none; }
ol { list-style: url(“http://vskills.in/bullet.png”) disc outside; }
The list-style shorthand property has the values of individual properties as its default and is
element {
background-color: transparent;
background-image: none;
background-position: top left;
}