0
0
Bootsrapmarkup~5 mins

Border utilities in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of Bootstrap's border utilities?
Bootstrap's border utilities let you quickly add or remove borders on elements without writing custom CSS. They help style borders easily using predefined classes.
Click to reveal answer
beginner
How do you add a border to all sides of an element using Bootstrap?
Use the class .border. This adds a 1px solid border on all four sides of the element.
Click to reveal answer
beginner
Which class removes the border from an element in Bootstrap?
The class .border-0 removes all borders from the element.
Click to reveal answer
beginner
How can you add a border only to the top side of an element?
Use the class .border-top to add a border only on the top side.
Click to reveal answer
beginner
How do you change the border color using Bootstrap border utilities?
Add a color class like <code>.border-primary</code>, <code>.border-success</code>, or <code>.border-danger</code> to change the border color to Bootstrap's theme colors.
Click to reveal answer
Which class adds a border to all sides of an element?
A.border-0
B.border-top
C.border-none
D.border
How do you remove all borders from an element?
A.border-remove
B.border-0
C.no-border
D.border-none
Which class adds a border only on the bottom side?
A.border-bottom
B.border-left
C.border-right
D.border-top
To change the border color to Bootstrap's primary color, which class should you use?
A.border-theme-primary
B.border-color-primary
C.border-primary
D.border-blue
Which class adds a border only on the left side?
A.border-left
B.border-right
C.border-top
D.border-bottom
Explain how to add and remove borders on specific sides of an element using Bootstrap border utilities.
Think about the classes that target all sides vs. individual sides.
You got /3 concepts.
    Describe how to change the color of borders using Bootstrap border utilities.
    Bootstrap uses color utility classes for borders similar to text and background colors.
    You got /2 concepts.