#creditData { width:19rem; height:19rem; background-color:#fff; margin:0 auto; position:relative; } #cvs { width:100%; height:100%; background-color:#fff; } #creditContent { text-align:center; height:7.4rem; position:absolute; top:0; left:0; bottom:0; right:0; margin:auto; overflow:hidden; } #creditContent>h1 { color:#ffd100; font-size:80px; margin:0; line-height:80px; }
canvas开发圆形/扇形进度条。扇形315度。