--- title: list-style slug: Web/CSS/list-style tags: - CSS - 'CSS:Referencias' - Referencia_CSS - Todas_las_Categorías translation_of: Web/CSS/list-style ---
{{ CSSRef() }}
La propiedad de estilo de lista (list-style
) permite definir de golpe todos los parámetros: {{ Cssxref("list-style-type") }}, {{ Cssxref("list-style-image") }}, y {{ Cssxref("list-style-position") }}.
list-style: {{ mediawiki.external(' list-style-type || list-style-position || list-style-image ') }} | inherit
List 1 <ul class="one"> <li>List Item1</li> <li>List Item2</li> <li>List Item3</li> </ul> List 2 <ul class="two"> <li>List Item A</li> <li>List Item B</li> <li>List Item C</li> </ul>
.one { list-style: circle; } .two { list-style: square inside; }
{{EmbedLiveSample('Ejemplos')}}
{{ Cssxref("list-style-type") }}, {{ Cssxref("list-style-image") }}, {{ Cssxref("list-style-position")}}