TypographyList Style Position

List Style Position

Controls how bullets and numbers are positioned in lists.

ClassStyle
lsp-ilist-style-position: inside
lsp-olist-style-position: outside

Outside

Initial value

The list item markers will be placed outside the list item's content area, allowing the text to align normally.

<div class="bg-indigo-1 p-4 rad-1">
<ul class="bg-white lsp-o lst-d p-4 pl-6 rad-1">
<li class="tc-slate">Butter 🧈</li>
<li class="tc-slate">Egg 🥚</li>
<li class="tc-slate">Milk 🥛</li>
</ul>
</div>

Inside

The list item markers will be placed inside the list item's content area, affecting the text alignment.

<div class="bg-indigo-1 p-4 rad-1">
<ul class="bg-white lsp-i lst-d p-4 pl-6 rad-1">
<li class="tc-slate">Butter 🧈</li>
<li class="tc-slate">Egg 🥚</li>
<li class="tc-slate">Milk 🥛</li>
</ul>
</div>

Using utility variants

Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.

Using media queries

You can combine responsive breakpoints like sm:lsp-*, md:lsp-*, lg:lsp-*, and xxl:lsp-* to allow targeting specific utilities in different viewports.

Using hover states

Alternatively, you can apply :hover by using h:lsp-* utility to override elements and change their values when hovering over them.