【文件属性】:
文件名称:基于html5画布的一个小控件
文件大小:16KB
文件格式:DOC
更新时间:2016-04-04 09:54:09
HTML5 控件 画布
<head>
<title>画布练习</title>
<style type="text/css">
#score, canvas
{
position:absolute;
top:50px;
left:50px;
cursor:pointer;
z-index:100;
}
#score
{
display:block;
height:100px;
width:100px;
background:#EFEFEF;
color:#ff6a00;
font-family:Consolas;
font-size:30px;
font-weight:bold;
z-index:-100;
}
</style>
</head>