+ 2
What is the purpose of spread in box-shadow?
7 Respuestas
+ 3
if you want to make a shadow around the box (box-shadow) you use.
+ 2
it gives little realistic feel to our shadow
+ 1
In my opinion, Spread in box-shadow is the size of shadow.
+ 1
Spread is actually very useful. It increases the size of your box shadow by however many units you define. Ex:
box-shadow: 10px 10px 5px 10px black;
This creates a black shadow with a 5px blur that's offset 10 over and 10 down. By using spread you'll get a larger black shadow that fills in the 10px offset amount. When adding blur its good to add spread so the blurred shape doesn't look too small.
+ 1
blur & spread
here is a usefull code try it you will understand
https://code.sololearn.com/WGioxTdHuKWl/#js
- 4
who knows
only god
- 6
you don't need to use spread radius.only blur is sufficient