21.) What does .p-0 do in Bootstrap?
A) Sets padding to default
B) Adds 0px padding only at the top
C) Adds 0.5rem padding
D) Removes padding from all sides
22.) Which class is used to add space only at the bottom?
A) .mb-3
B) .m-bot-3
C) .bottom-margin-3
D) .margin-bottom
23.) How do you evenly distribute items along the main axis?
A) .justify-content-center
B) .justify-content-evenly
C) .align-content-around
D) .align-items-evenly
24.) What does .opacity-50 do?
A) Makes an element semi-transparent (50% opacity)
B) Sets the background color to transparent
C) Hides the element completely
D) Applies a blur effect
25.) Which class adds a shadow to an element?
A) .shadow-effect
B) .box-shadow
C) .shadow
D) .shadow-lg
26.) What does .h-100 do?
A) Sets an element’s height to 100% of its parent
B) Sets an element’s height to 100px
C) Makes the element visible
D) Increases the height gradually
27.) How do you make text bold using Bootstrap utilities?
A) .strong-text
B) .text-bold
C) .font-bold
D) .fw-bold
28.) Which class makes an element float to the left?
A) .left-float
B) .float-left
C) .float-start
D) .align-left
29.) How do you center a div horizontally in Bootstrap?
A) .mx-auto
B) .m-center
C) .align-center
D) .justify-center
30.) Which class removes borders from an element?
A) .border-none
B) .border-0
C) .no-border
D) .remove-border
Related