html5 - canvas画图多出3px问题
巴扎黑
巴扎黑 2017-04-17 13:47:39
0
1
531


为什么会多出3px?

巴扎黑
巴扎黑

reply all(1)
大家讲道理

Because canvas is an inline replacement element by default, and the 3px is the distance between its baseline and the bottom of the line.
Set his display to block to solve this problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template