From the course: Bootstrap 3 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with list styles

Working with list styles - Bootstrap Tutorial

From the course: Bootstrap 3 Essential Training

Start my 1-month free trial

Working with list styles

- HTML has three different types of lists: unordered lists for items in no particular order, ordered lists where the order of the items has relevance, and definition lists for dictionary-type definitions. So let's take a look at how Bootstrap displays these and some of the options that it provides. Now this document here shows you the different types of lists, starting out with the ordered list, and on the right you can see how Bootstrap is displaying it. It's pretty much what you would expect. If, for some reason, you want to turn off styling in a list, you can add the list unstyle class to a list element. So we'll take this ordered list and we'll add a class here and call that list-unstyled. So if I save that you can see that all the styles, like the indentation as well as the bullets, are no longer present on this list. But notice that it only affects one of the levels. So if you had any sublevels you would have to add that list-unstyled class in this other section as well. You can…

Contents