Bootstrap 4 Interview Questions
1 .
Why the .flex-sm-shrink-1 class used in Bootstrap 4?
Make flex-items shrink on small screen using the flex-sm-shrink-1 class used in Bootstrap.
2 .
Why the flex-md-row-reverse class used in Bootstrap 4?
Display flex items horizontally and right-align on medium screen using the flex-md-row-reverse class in Bootstrap.
3 .
Why the justify-content-xl-center class used in Bootstrap 4?
Display flex items in the center of a flex container on extra-large screen using the justify-content-xl-center class used in Bootstrap.
 
We have used xl for extra-large screen size :
 
<div class="d-flex justify-content-xl-center bg-primary">

      Flex items
      -----------
      -----------

</div>
4 .
What is the default font setting for bootstrap 4?
By default Bootstrap4 use font-size of 16px with line-height of 1.5. The default font-family is “Helvetica Neue” which is a combination of Helvetica, Arial, sans-and serif.