# list-style-type

> The `list-style-type` CSS property sets the appearance of the list item marker.

## How do I change bullet style or numbering type in CSS?

The property that specifies the type of marker used for list items, such as 'disc', 'circle', 'square', 'decimal', 'none' and more. It determines the appearance of the list markers, allowing customization of the look for ordered and unordered lists.

- Topic: Lists
- Type: property
- Browser support: Chrome 1+, Chrome Android 18+, Edge 12+, Firefox 1+, Firefox Android 4+, Safari 1+, Safari iOS 1+

## Example

Wrong:

```css
ul {
  list-style: none;
}
li::before {
  content: "– ";
}
```

Right:

```css
ul {
  list-style-type: "– ";
}
```

A string value replaces the bullet while keeping the native marker box, its alignment and list semantics.

## Common mistakes

- Rebuilding bullets with `::before` and losing alignment of wrapped lines.

## Key points

- Custom bullet text uses a string value or `::marker`, not `::before` content on top of a hidden marker.
- Ordered lists keep `<ol>` in HTML, while the type only changes how numbers look.
- Custom systems are defined with `@counter-style` and used by name.

## Interview questions

### How do I use letters instead of numbers in a list?

Use 'lower-alpha' or 'upper-alpha' on the list, or Roman numerals with 'lower-roman' or 'upper-roman'.

### Can I use an emoji as a list bullet?

Yes. Use a string value like `list-style-type: "✅ "` or set `content` on `::marker`.

## Related cards

- [list-style](https://wonderium.dev/css/list-style.md)
- [@counter-style](https://wonderium.dev/css/counter-style.md)
- [::marker](https://wonderium.dev/css/marker.md)
- [`<ol>`](https://wonderium.dev/html/ol.md)
- [`<ul>`](https://wonderium.dev/html/ul.md)

---

- Level: [CSS](https://wonderium.dev/css.md)
- HTML version: https://wonderium.dev/css/list-style-type
- Last updated: 2026-11-25
