.list-unstyled - Removes all default list-style styling from a <ul> or <ol> list - HTML CSS Bootstrap Class List

HTML CSS examples for Bootstrap Class List:list-unstyled

Introduction

The class .list-unstyled removes the default list-style and left margin on list items.</p>

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
</head><!-- w  w  w . j a  v a2s .c  o  m-->
<body>

<div class="container">
  <h2>Typography</h2>
  <ul class="list-unstyled">
    <li>Coffee</li>
    <li>Tea
      <ul>
        <li>CSS</li>
        <li>HTML</li>
      </ul>
    </li>
    <li>Javascript</li>
  </ul>
</div>

</body>
</html>

Related Tutorials