Skip to content

list-style-position

Utilities for placing list markers inside or outside the item’s text flow.

ISS preview
Iced + ISS preview demonstrating list-style-position
ISS preview for list-style-position
use iss::{list_tw, tw};
let ul = list_tw(items, tw!("list-disc list-outside pl-5 gap-1"));
Tailwind Class CSS Property / Effect iss::typed Builder
list-inside list-style-position: inside; .list_inside()
list-outside list-style-position: outside; .list_outside()
  • Use with list_tw: list-outside hangs markers in the left gutter while list-inside flows markers inline.

list-style-type · list-style-image · padding