I want to put items(item1, item2, item3) in "li". When I used flex, the prefix disappeared!
(here, I use tailwind v2.2.19)
<ol class="list-decimal">
<li class="flex">
<div>item1</div>
<div>item2</div>
<div>item3</div>
</li>
<li>item</li>
<li>item</li>
</ol>
then I got ...
I really need the prefix, use grid is not fit for my situation.
please help, thanks!!!

You can add the
list-decimal-insideclass to the element. This class is provided by Tailwind and will ensure that the prefix is still displayed.This will ensure that the prefix is still displayed for the first
<li>element, even though it uses theflexclass. The other<li>elements will continue to display the prefix as normal.