In this video, Ray Villalobos adds form elements like search to your navigation by using a few simple classes that make these elements properly fit within the structure of a navbar.
- [Narrator] Form elements are actually pretty easy to add…into navigation components.…There's a few form classes that you can use in order…to add elements to a menu, you simply need a form-inline…on a container for the form elements, and then you can…add form-control classes as needed for things like input…fields.…Some elements like buttons don't need these extra classes,…but you may need to add some additional spacing classes…as needed.…Let's go ahead and look at our menu.…I've actually taken out the brand right here because…we're going to add a search section over here…and I just didn't really have a lot of room.…
So, let's go ahead and…just like any other sort of nav bar component,…it goes at the same level as this nav bar bar inside…nav bar and all we need to do is create a form and…it really doesn't have an action, but it does…have a class and we, like I mentioned, need a container…of form-inline, and then in here, I'll start with an…input field…and this input field is going to need a class of form-control.…
- Creating a basic template
- Reviewing basic styles and typography
- Using colors with Bootstrap
- Working with classes that help you deal with images
- Working with grid containers
- Offsetting columns
- Using list groups to style lists, buttons, and links
- Using breadcrumbs
- Reviewing layout components
- Using form styles
- Working with interactive components
Skill Level Beginner
Responsive CSS with Sass and Compasswith Ray Villalobos3h 22m Intermediate
Building a Responsive Single-Page Design with Sasswith Ray Villalobos4h 55m Intermediate
1. Getting Started
2. Using Basic Styles
3. Mastering Layout with Bootstrap
4. Using Navs and Navbar Components
5. Basic Style Elements
6. Layout Components
7. Using Form Styles
8. Working with Interactive Components
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.