Open In App

Tachyons Element Lists

Tachyons Element Lists is used as a reset for the list-style-type to remove the default bullets. A user may sometimes want the list form without any of the bullet points. This class will be useful in that situation. It will work for both ordered and unordered lists.

Tachyons Element Lists Class:



Syntax:

<ul class="list pl0">
   <li>..</li>
   ..
</ul>

The below examples illustrate the Tachyons Element Lists.



Example 1: In this example, we will remove the bullet points from an unordered list.




<!DOCTYPE html>
<html lang="en">
  
<head>
    <link rel="stylesheet" href=
</head>
  
<body>
    <center>
        <h1 style="color:green;">
            GeeksforGeeks
        </h1>
        <h3>
            Tachyons Element Lists
        </h3>
        <ul class="list pl0">
            <li>GeeksforGeeks</li>
            <li>A Computer Science Portal</li>
            <li>For all the Geeks</li>
        </ul>
    </center>
</body>
  
</html>

Output:

 

Example 2: In this example, we will remove the bullet points from an ordered list.




<!DOCTYPE html>
<html lang="en">
  
<head>
    <link rel="stylesheet" href=
</head>
  
<body>
    <center>
        <h1 style="color:green;">
            GeeksforGeeks
        </h1>
        <h3>
            Tachyons Element Lists
        </h3>
  
        <ol class="list pl0">
            <li>GeeksforGeeks</li>
            <li>A Computer Science Portal</li>
            <li>For all the Geeks</li>
        </ol>
    </center>
</body>
  
</html>

Output:

 

Reference: https://tachyons.io/docs/elements/lists/


Article Tags :