Creating a circular meter, background color is creating problems

I am trying to create a circular meter which will update according to value. the problem is there is a red border out of out circle... is there a good way to remove that... This is my [fiddle][1] [1]: This is HTML Code:


following is CSS code for this: * { float:left; margin:0px; padding:0px; } .outer { border-radius:50%; background-color:red; width:220px; height:220px; position:relative; margin:20px; overflow:hidden } .inner { border-radius: 50%; background-color:yellow; width:180px; height:180px; position:relative; top:20px; left:20px; } .left-cov { height:100%; width:50%; position:absolute; top:0px; left:0px; background-color:grey } .right-cov { height:100%; width:50%; background-color:grey; position:absolute; bottom:0px; right:0px; } .fy-rate { font-size:52px; width:100%; text-align:center; margin-top:45px; }
@KyleSevenoaks try the fiddle you can find what you need :)

以上就是Creating a circular meter, background color is creating problems的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准