how to set shadow for round image(css)

前端 未结 10 2076
暖寄归人
暖寄归人 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

    There is great tutorial for box-shadowing with examples here

    Also, simple css3 for rounding corners in cross browser

    border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
    

    just adjust the pix to the corner roundness you want, or use ems instead

提交回复
热议问题