<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <title>Drawing with text</title> <meta name="keywords" content="geovindu"> <meta name="description" content="涂聚文"> <meta name="author" content="Tim Holman"> <style type="text/css"> @import "compass/css3"; html, body { width: 100%; height: 100%; margin: 0px; overflow: hidden; &:hover { span { display: none; } } } canvas { cursor: crosshair; } span { font-family: 'Georgia', cursive; font-size: 40px; position: fixed; top: 50%; left: 50%; color: #000; margin-top: -40px; margin-left: -200px; } </style> </head> <body> <canvas id='canvas'></canvas> <span id='info'>Click and drag to draw!<span> <!-- Drawing with text: - Click and drag to draw. - Double click to clear. Ported from java at ----想了解更多的html相关干货教程关注<计算机技术网(www.ctvol.com)!!>本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。
ctvol管理联系方式QQ:251552304
本文章地址:https://www.ctvol.com/htm5ctutorials/110920.html
Html5: Drawing with text,html5drawing分享
赞 (0)
基于 HTML5 WebGL 的计量站三维可视化监控系统 Web 组态工控应用,分享
上一篇
2020年5月6日
vue仿微信网页版|vue+web端聊天室|仿微信客户端vue版,webvue分享
下一篇
2020年5月6日