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 blockquotes - Bootstrap Tutorial
From the course: Bootstrap 3 Essential Training
Using blockquotes
- Bootstrap does a nice job of styling block quotes for you, and it provides a class to reverse the alignment of it. So let's take a look at how it works. I'm going to take this second paragraph right here and make it into a block quote. So let's go ahead and replace that p with just blockquote. And... I'm going to go ahead and save that. You can see that it indents it nicely, makes it a little bigger, and it adds this nice, great border to it. Now those are all things that if you are overwriting your styles with CSS, you'll need to remember to take out. Now if you do want to add a footer, so, if you wanted to add maybe the person that this quote is from, then what you want to do is actually add a footer tag in here, and then we can put in a name, and you would probably want to take this other section and put it maybe in a paragraph. So let's go ahead and do that, just tag it all to a paragraph, and now you can see that it includes a really nice style with this little sort of…
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.