Complete the code to make the element hidden on all screen sizes.
<div class="[1]">This text is hidden.</div>
d-block which shows the element.d-inline which only changes display style but does not hide.The d-none class hides the element on all screen sizes.
Complete the code to make the element visible only on medium and larger screens.
<div class="[1]">Visible on medium and up.</div>
d-block d-md-none which does the opposite.d-none d-sm-block which shows on small screens, not medium.The combination d-none d-md-block hides the element on small screens and shows it on medium and larger screens.
Fix the error in the code to make the element inline only on large screens.
<span class="d-[1]-inline">Inline on large screens only.</span>
sm or md which apply to smaller screen sizes.xl which applies only on extra large screens.The class d-lg-inline makes the element inline only on large screens and up.
Fill both blanks to make the element hidden on small screens and flex on extra large screens.
<div class="[1] [2]">Responsive display</div>
d-none which hides on all screen sizes.d-flex which shows flex on all screen sizes.d-sm-none hides the element on small screens and smaller, and d-xl-flex shows it as flex on extra large screens.
Fill all three blanks to make the element block on small screens, inline on medium, and hidden on large screens.
<div class="[1] [2] [3]">Multi-display</div>
d-sm-inline which applies inline only on small screens, not medium.d-block shows block by default (small screens), d-md-inline changes to inline on medium screens, and d-lg-none hides on large screens.