Bootstrap Small Box Shadow
You can add or remove box shadows to elements with the bootstrap box-shadow utilities. Bootstrap’s small box-shadow provides a nice visual cue to the UI elements.
Box Shadow Properties
Inset
Color
Shadow 0
Box Shadow
Presets
Element Properties
Color
Box Shadow CSS
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.075);
Element CSS
.element {
width: 250px;
height: 250px;
background-color: rgba(255, 255, 255, 1);
color: #000;
border-radius: 10px;
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.075);
}
Box Shadow Property Tips
Try variations of the blur, spread, or colors to bring a new dynamism to Bootstrap shadows presets. Try different levels of intensity to match your preference.