This article mainly introduces the use of canvas to draw text effects in html5. Friends who need it can refer to it <canvas id=canvas width=500 height=400 style=background-color: yellow;></canvas> Copy the code