How do we create a list grouping in Bootstraps ?

 Posted by Vivek.Ramapuram on 6/10/2015 | Category: Bootstrap Interview questions | Views: 562 | Points: 40
Answer:

There are some predefined grouping classes in bootstrap.css.

Example :
<ul class="list-group">

<li class="list-group-item">Home</li>
<li class="list-group-item">Favourites</li>
<li class="list-group-item">My Cloud</li>
<li class="list-group-item">Network</li>
<li class="list-group-item">Messages</li>
<li class="list-group-item">Settings</li>
</ul>

list-group & list-group-item are the classes in bootstrap.css. These predefined classes .
Run the code in the browser and see the predefined classes that shows in the list form .


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response