xxxxxxxxxx
border-radius: 50px;
background: linear-gradient(45deg, #cacaca, #f0f0f0);
box-shadow: 20px -20px 60px #bebebe,
-20px 20px 60px #ffffff;
xxxxxxxxxx
/* offset-x | offset-y | blur-radius | spread-radius | color */
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
xxxxxxxxxx
box-shadow: 3px 3px 6px 5px #ccc;
or
box-shadow: 0px 5px 17px -7px rgba(0, 0, 0, 0.75);
xxxxxxxxxx
// Nice and soft box shadow for every day use
box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
xxxxxxxxxx
/* offset-x | offset-y | color */
box-shadow: 60px -16px teal;
/* offset-x | offset-y | blur-radius | color */
box-shadow: 10px 5px 5px black;
/* offset-x | offset-y | blur-radius | spread-radius | color */
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
/* Any number of shadows, separated by commas */
box-shadow: 3px 3px red, -1em 0 0.4em olive;
xxxxxxxxxx
#Box-shadow-example {
Box-shadow:0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
/* offset-x, offset-y, (blur-radius and/or spread-radius=optional) and color */
}
xxxxxxxxxx
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
Ref: https://getcssscan.com/css-box-shadow-examples
xxxxxxxxxx
.box {
width: 200px;
height: 200px;
background-color: #f2f2f2;
box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.3);
}