From the course: Bootstrap 3 Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Using miscellaneous styles and sizing - Bootstrap Tutorial
From the course: Bootstrap 3 Essential Training
Using miscellaneous styles and sizing
- Bootstrap has some other miscellaneous styles that can help you do things like handle form states, as well as resize your input fields. So let's take a look at how they work. Now for example, if you want to add a disabled attribute to an input field, Bootstrap fades it out as well changes the icon. So if we come right up here into this Name input field, we can add a disabled attribute, and you can see that it shows up sort of the background in a different color, and when we roll the mouse over that area, it shows us a disabled icon, and I can't click on this now. So you could do the same thing to other input field types, for example, we have a checkbox right here. And again, all we have to do is add a disabled attribute here. Now you can see that it shows up a little lighter, and I can't click on it anymore. If you want to do that to this label right here, then what you need to do is right here in this div, where you add this class of checkbox, you can add a disabled class, and when…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Creating a basic form6m 24s
-
(Locked)
Formatting radio and checkbox controls4m 18s
-
(Locked)
Using inline forms2m 53s
-
(Locked)
Styling a horizontal form4m 52s
-
(Locked)
Using validation styles4m 56s
-
(Locked)
Using input groups5m 24s
-
(Locked)
Using miscellaneous styles and sizing6m 43s
-
(Locked)
Using icons4m 44s
-
-
-
-
-
-