Hi about shadow

i wanted to create a shadow for an object then when i resized the object i need also the shadow to be reduced with it and what are the different ways to give shadow please help.