0
0
Bootsrapmarkup~5 mins

Visibility utilities in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of Bootstrap's visibility utilities?
Bootstrap's visibility utilities help you show or hide elements easily on different screen sizes without writing custom CSS.
Click to reveal answer
beginner
How do you hide an element only on small screens using Bootstrap visibility utilities?
Use the class d-none d-sm-block. This hides the element on extra small screens and shows it on small screens and larger.
Click to reveal answer
beginner
What does the class d-md-none do?
It hides the element on medium screens and larger, but shows it on smaller screens.
Click to reveal answer
intermediate
Explain the difference between d-none and invisible classes in Bootstrap.
d-none completely hides the element and removes it from the layout flow. invisible hides the element visually but keeps its space in the layout.
Click to reveal answer
beginner
How can you make an element visible only on large screens using Bootstrap classes?
Use d-none d-lg-block. This hides the element on all screen sizes except large and above.
Click to reveal answer
Which class hides an element on all screen sizes in Bootstrap?
Ad-block
Bd-inline
Cvisible
Dd-none
What does d-sm-block do?
AShows element on small screens and larger
BShows element only on extra small screens
CHides element on small screens
DMakes element inline on all screens
If you want to hide an element only on medium and larger screens, which class should you use?
Ad-md-none
Bd-none d-md-block
Cd-lg-none
Dd-sm-none
Which class keeps the element's space but hides it visually?
Ad-none
Bhidden
Cinvisible
Dd-block
To show an element only on large screens and hide it elsewhere, which classes do you use?
Ad-lg-none
Bd-none d-lg-block
Cd-block d-lg-none
Dd-none d-sm-block
Describe how Bootstrap visibility utilities help in creating responsive designs.
Think about how websites change layout on phones vs desktops.
You got /4 concepts.
    Explain the difference between the Bootstrap classes d-none and invisible.
    One hides completely, the other just makes it invisible.
    You got /3 concepts.