Build a rectangle frame with a transparent circle using CSS only

前端 未结 4 547
半阙折子戏
半阙折子戏 2021-01-24 02:25

I need to implement a design to my webpage butI am kind of newbie with CSS.

What I am trying is to add a frame above the user picture. For example, for any size of imag

4条回答
  •  失恋的感觉
    2021-01-24 03:05

    You should draw the square, then the circle on top of it and finally put the image, this will produce the result you want.
    Check there for how to trace a circle in CSS.

提交回复
热议问题