Styling the list part 3
The list-style Property
The list-style property is a shorthand property for setting list-style-type, list-style-image and list-style-position. It is used to set all of the list properties in one declaration:ul {
list-style: square outside none;
}
This would be the same as the longhand version.
Result:
If one of the property values are missing, the default value for the missing property will be inserted, if any.
Comments
Post a Comment