canvas画板/写字板
来源:互联网 发布:打击垫 编程 编辑:程序博客网 时间:2024/04/29 20:09
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>写字板</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
#wrap {
width: 600px;
height: 500px;
/*border: 3px solid red;*/
overflow: hidden;
}
canvas {
border-right: 3px solid orange;
border-bottom: 3px solid orange;
float: left;
}
ul {
/*border: 3px solid blue;*/
float: right;
width: 160px;
list-style-type: none;
}
ul li {
width: 30px;
height: 30px;
margin-top: 20px;
}
ul li:nth-child(1) {
background-color: greenyellow;
}
ul li:nth-child(2) {
background-color: blueviolet;
}
ul li:nth-child(3) {
background-color: orange;
}
ul li:nth-child(4) {
background-color: #00BFFF;
margin-bottom: 20px;
}
#clear {
margin-bottom: 20px;
}
#text {
margin-bottom: 20px;
}
</style>
</head>
<body>
<div id="wrap">
<canvas id="canvas" width="400" height="400"></canvas>
<ul id="ul">
<li id="li1"></li>
<li id="li2"></li>
<li id="li3"></li>
<li id="li4"></li>
<input type="button" name="clear" id="clear" value="清空" />
<input type="button" name="" id="eraser" value="橡皮擦" />
<input type="text" name="text" id="text" value="" placeholder="调节
<html>
<head>
<meta charset="UTF-8">
<title>写字板</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
#wrap {
width: 600px;
height: 500px;
/*border: 3px solid red;*/
overflow: hidden;
}
canvas {
border-right: 3px solid orange;
border-bottom: 3px solid orange;
float: left;
}
ul {
/*border: 3px solid blue;*/
float: right;
width: 160px;
list-style-type: none;
}
ul li {
width: 30px;
height: 30px;
margin-top: 20px;
}
ul li:nth-child(1) {
background-color: greenyellow;
}
ul li:nth-child(2) {
background-color: blueviolet;
}
ul li:nth-child(3) {
background-color: orange;
}
ul li:nth-child(4) {
background-color: #00BFFF;
margin-bottom: 20px;
}
#clear {
margin-bottom: 20px;
}
#text {
margin-bottom: 20px;
}
</style>
</head>
<body>
<div id="wrap">
<canvas id="canvas" width="400" height="400"></canvas>
<ul id="ul">
<li id="li1"></li>
<li id="li2"></li>
<li id="li3"></li>
<li id="li4"></li>
<input type="button" name="clear" id="clear" value="清空" />
<input type="button" name="" id="eraser" value="橡皮擦" />
<input type="text" name="text" id="text" value="" placeholder="调节
0 0
- canvas画板/写字板
- canvas写字板
- 【Canvas】简单的写字板
- Canvas画板
- Canvas标签实现写字板功能
- html5之canvas绘图 1.写字板功能
- html5 canvas 画板
- HTML5 Canvas实例画板
- html5 canvas自定义画板
- canvas实现画板功能
- Android Canvas画板
- h5+js 画板canvas
- canvas画板pc
- canvas移动端画板
- canvas简单画板笔记
- 写字板
- 写字板
- 通过小画板认识Canvas
- 测试的道理
- 十年磨一剑,我来露露脸!
- 极简的C#很优雅——《C#实战开发:核心技术应用与实践》
- matlab去掉指定列,以及合并去掉重复的列,日期变化
- ROS入门之主题和服务、msg和srv(C++)
- canvas画板/写字板
- canvasX小球
- UVA 10795 A Different Task 汉诺塔加强版 *
- php书写九九乘法口诀表
- NOIP 2013 货车运输 题解过程
- Angularjs的路由,模块和依赖注入
- 讲解php里的数组知识点
- ActionBar和menu菜单
- memcache运行原理