I have found out that spread size of shadow can’t be set to percentage of parent object
True. But you can set font-size
on the parent object, then define the object size in em
s, and use the same em
s to define the box-shadow
size.
Or, if your parent object happens to be the window, you can use viewport units: vw
and vh
.