how to set shadow for round image(css)

前端 未结 10 2078
暖寄归人
暖寄归人 2020-12-31 11:52

I\'m new to shadow in css can we set shadows for round image(i mean to a circle image).

if it is possible, please give me a code for this in css. thanks in advan

10条回答
  •  无人及你
    2020-12-31 12:29

    Easy peasy! Set border-radius: 50%; on your image element.

    It rounds your image tag and it's drop-shadow.

提交回复
热议问题