Unstyled List

Description

Remove the default list-style and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.

Example


<!DOCTYPE HTML>
<html> 
<head> 
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
</head><!--from ww w  .j  av a2 s . co m-->
<body style='margin:20px;'>
<ul class="list-unstyled">
  <li>Java</li>
  <li>CSS</li>
  <li>HTML</li>
  <li>Bootstrap</li>
  <li>HTML5</li>
  <li>CSS3</li>
</ul>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Tutorial »




Bootstrap
Basic HTML Style
List
Table