What is the difference between .container and .container-fluid?

Bootstrap

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Nora Allstedt
Used 138+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.container-fluid keeps margins to the left and right of the content, while .container fills the entire width of the window.
.container-fluid is responsive to the window size, while container creates a fixed width that never changes, regardless of window size.
.container-fluid constantly updates to fit the width of the window, while .container will update occasionally as the window is resized.
.container should be used in headers, while .container-fluid is used for p tags.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: If you use Bootstrap’s framework for your site, you can’t add your own CSS rules.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: It is impossible to have more than one jumbotron on a given page.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following creates a responsive jumbotron on your website?
<jumbotron>
<h1>This text will be in a jumbotron</h1>
</jumbotron>
<div class="jumbotron responsive">
<h1>This text will be in a jumbotron</h1>
</div>
<div class="container">
<jumbotron>
<h1>This text will be in a jumbotron</h>
</jumbotron>
</div>
<div class="container">
<div class="jumbotron">
<h1>This text will be in a jumbotron</h>
</div>
</div>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many columns fit in a single row in the Bootstrap grid system?
4
8
12
It depends on the screen size.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<div class=“row”>
<div class=“col-sm-6”>1</div>
<div class=“col-sm-6”>2</div>
</div>
What is the smallest device that will display these columns side by side?
Desktop Computer
Laptop
Tablet
Smart Phone
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to add a default-styled button to an <a> tag?
<a href="#" class="btn btn-default">Button</a>
<a href="#" class="btn-default">Button</a>
<a href="#" class="btn default">Button</a>
<a href="#" class="btn">Button</a>
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
HTML review fall

Quiz
•
10th - 12th Grade
12 questions
HTML and CSS

Quiz
•
9th - 10th Grade
15 questions
HTML

Quiz
•
9th - 12th Grade
15 questions
HTML Quiz

Quiz
•
11th Grade
10 questions
CSS Grade 11 NIS Aktobe

Quiz
•
11th Grade
8 questions
مراجعة عامة 1

Quiz
•
10th - 12th Grade
15 questions
Advanced HTML and CSS

Quiz
•
9th - 12th Grade
12 questions
Web Development

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University