Open In App
Related Articles

Tailwind CSS List Style Type

Improve Article
Save Article
Like Article

This class accepts lots of value in tailwind CSS in which all the properties are covered as in class form. It is the alternative to the CSS List Style Type property. This class specifies the appearance of the list item marker (such as a disc, character, or custom counter style) if the ‘list-style-image’ has the value ‘none’.

List Style Type classes:

  • list-none: No marker is shown in this mode.
  • list-disc: This is the default value. The marker is a filled circle.
  • list-decimal: A marker is a decimal number, beginning with 1.


<element class="List Style Type">...</element>



<!DOCTYPE html> 
    <link href=
<body class="text-center mx-4 space-y-2"
    <h1 class="text-green-600 text-5xl font-bold">
    <b>Tailwind CSS List Style Type Class</b
    <div class="mx-24 bg-green-200 text-justify px-6">
        <ul class="list-disc">
            <li>Self learning</li>
            <li>Contribute at Open Source</li>
            <li>Gain Stack overflow respect</li>
        <ol class="list-decimal">
            <li>Self learning</li>
            <li>Contribute at Open Source</li>
            <li>Gain Stack overflow respect</li>        
        <ul class="list-none">
            <li>Self learning</li>
            <li>Contribute at Open Source</li>
            <li>Gain Stack overflow respect</li>        



List style type

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 23 Mar, 2022
Like Article
Save Article
Similar Reads
Related Tutorials