How to make one circle inside of another using CSS

后端 未结 13 2277
-上瘾入骨i
-上瘾入骨i 2020-12-30 03:54

I am trying to make one circle inside of another circle using css, but I am having an issue making it completely centered. I am close, but still not there. Any ideas?

<
13条回答
  •  死守一世寂寞
    2020-12-30 04:23

    try to give the innercircle a top:50% and than margin-top: a nagative value from the half of the height of the innercircle.

    http://jsfiddle.net/972SF/19/

提交回复
热议问题