Movatterモバイル変換


[0]ホーム

URL:


  1. Tecnología web para desarrolladores
  2. CSS
  3. Referencia CSS
  4. Properties
  5. list-style

Esta página ha sido traducida del inglés por la comunidad.Aprende más y únete a la comunidad de MDN Web Docs.

View in EnglishAlways switch to English

list-style

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since julio de 2015.

* Some parts of this feature may have varying levels of support.

Resumen

La propiedad de estilo de lista (list-style) permite definir de golpe todos los parámetros:list-style-type,list-style-image, ylist-style-position.

Sintaxis

list-style: [ list-style-type || list-style-position || list-style-image ] | inherit

Valores

verlist-style-type.

verlist-style-image.

verlist-style-position.

Ejemplos

HTML

html
List 1<ul>  <li>List Item1</li>  <li>List Item2</li>  <li>List Item3</li></ul>List 2<ul>  <li>List Item A</li>  <li>List Item B</li>  <li>List Item C</li></ul>

CSS

css
.one {  list-style: circle;}.two {  list-style: square inside;}

Resultado

Especificaciones

Compatibilidad con navegadores

Ver también

list-style-type,list-style-image,list-style-position

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp