First of all, the method of using shadow is given so that you can adjust various parameters according to the example. box-shadow: h-shadow v-shadow blur spread color inset; h-shadow is required. The position of the horizontal shadow. Negative values are allowed. v-shadow required. The position of the vertical shadow. Negative values are allowed. blur optional. Fuzzy distance. spread optional. The size of the shadow. color optional. The color of the shadow. See CSS color values. inset optional. Change the outer shadow (outset) to an inner shadow. Then give me a demo for my local test
Here transform: rotateZ(3deg); you can try to adjust the rotation angle. Then box-shadow mainly adjusts the second and third parameters. If it still does not meet the expected effect, you can change the hexadecimal color to the rgba translucent color. The effect can be achieved Hope to adopt it.
First of all, the method of using shadow is given so that you can adjust various parameters according to the example.
box-shadow: h-shadow v-shadow blur spread color inset;
h-shadow is required. The position of the horizontal shadow. Negative values are allowed.
v-shadow required. The position of the vertical shadow. Negative values are allowed.
blur optional. Fuzzy distance.
spread optional. The size of the shadow.
color optional. The color of the shadow. See CSS color values.
inset optional. Change the outer shadow (outset) to an inner shadow.
Then give me a demo for my local test
Here transform: rotateZ(3deg); you can try to adjust the rotation angle.
Then box-shadow mainly adjusts the second and third parameters. If it still does not meet the expected effect, you can change the hexadecimal color to the rgba translucent color. The effect can be achieved
Hope to adopt it.
transform + box-shadow
If that doesn’t work
You can try filter: drop-shadow()