0
0
Bootsrapmarkup~20 mins

Shadow utilities in Bootsrap - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Shadow Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
rendering
intermediate
2:00remaining
What shadow effect is applied by shadow-lg in Bootstrap?
Bootstrap provides different shadow utilities like shadow-sm, shadow, and shadow-lg. Which of these best describes the visual effect of shadow-lg?
Bootsrap
<div class="shadow-lg p-3 mb-5 bg-white rounded">Shadow Large Example</div>
AA colored shadow with a red tint around the element.
BA large, prominent shadow with more blur and spread around the element.
CNo shadow effect; it removes any shadow from the element.
DA small, subtle shadow with minimal blur and offset.
Attempts:
2 left
💡 Hint
Think about how shadows grow from small to large in Bootstrap utilities.
🧠 Conceptual
intermediate
1:30remaining
Which Bootstrap shadow utility removes all shadows?
Bootstrap has several shadow utility classes. Which class will remove any shadow effect from an element?
Ano-shadow
Bshadow-remove
Cshadow-none
Dshadow-zero
Attempts:
2 left
💡 Hint
Look for the class that explicitly says 'none'.
selector
advanced
1:30remaining
Which CSS property does Bootstrap's shadow utilities primarily modify?
Bootstrap shadow utilities like shadow, shadow-sm, and shadow-lg change which CSS property to create shadow effects?
Abox-shadow
Btext-shadow
Cfilter: drop-shadow
Dbackground-shadow
Attempts:
2 left
💡 Hint
Think about shadows around boxes, not text.
accessibility
advanced
2:00remaining
How can shadows affect accessibility and what should you consider?
When using shadow utilities in Bootstrap, what accessibility consideration is important?
AShadows can reduce text contrast, so ensure sufficient contrast for readability.
BShadows have no impact on accessibility and can be ignored.
CShadows always improve accessibility by making elements more visible.
DShadows should be removed on all interactive elements for accessibility.
Attempts:
2 left
💡 Hint
Think about how shadows might affect text clarity.
📝 Syntax
expert
2:30remaining
What is the output of this HTML snippet using Bootstrap shadow utilities?
Given the following HTML, what will be the visible shadow effect on the box?
Bootsrap
<div class="shadow-sm shadow-lg shadow-none p-4">Test Box</div>
ALarge shadow from shadow-lg is visible.
BSmall shadow from shadow-sm is visible.
CBoth small and large shadows are visible layered.
DNo shadow visible because shadow-none overrides others.
Attempts:
2 left
💡 Hint
Consider CSS class order and which shadow utility takes precedence.