Show an active or clicked state of a button.Make an object look recessed or indented.This contains the shadow within the layer's bounds. Instead of creating a shadow behind your selection, Figma will apply a shadow within the layer or object. Like drop shadows, inner shadows allow you to create depth within two-dimensional designs. Make your designs stand out against a background.You can do this by creating the shadow of an object on a surface behind or below it.ĭrop shadows can vary in opacity, depending on the effect you want to create. Drop shadowĭrop shadows are a great way to add depth and dimension to your designs. View CSS properties for your selection by opening the Inspect panel in the right sidebar.
Shadow effects on text layers translate to text-shadow in CSS. Tip! Both shadow effects translate to the box-shadow property in CSS.