box shadow example

98

/* offset-x | offset-y | blur-radius | spread-radius | color */
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
.blog-shadow-dreamy {
    box-shadow: 0 1px 2px rgba(0,0,0,0.07), 
                0 2px 4px rgba(0,0,0,0.07), 
                0 4px 8px rgba(0,0,0,0.07), 
                0 8px 16px rgba(0,0,0,0.07),
                0 16px 32px rgba(0,0,0,0.07), 
                0 32px 64px rgba(0,0,0,0.07);
}
border-radius: 50px;
background: linear-gradient(315deg, #cacaca, #f0f0f0);
box-shadow:  -20px -20px 60px #bebebe,
             20px 20px 60px #ffffff;
border-radius: 50px;
background: linear-gradient(45deg, #cacaca, #f0f0f0);
box-shadow:  20px -20px 60px #bebebe,
             -20px 20px 60px #ffffff;

Comments

Submit
0 Comments