::-webkit-scrollbar { width: 14px; height: 14px;}::-webkit-scrollbar-track,::-webkit-scrollbar-thumb { border-radius: 999px; border: 5px solid tra...
分类:
Web程序 时间:
2015-03-06 15:28:57
阅读次数:
174
cvCircle(CvArr*img, CvPointcenter, intradius, CvScalarcolor, intthickness=1, intlineType=8, intshift=0)img为图像指针,单通道多通道都行,不须要特殊要求center为画圆的圆心坐标radius为圆...
分类:
其他好文 时间:
2015-03-04 12:27:16
阅读次数:
118
利用context的方法,进行圆和弧的绘制context.arc(x,y,radius,startingAngle,endingAngle,anticlockwise);x,y:表示圆心坐标radius:圆的半径startingAngle:绘制圆弧的起始位置(弧度制,比如0,0.5*Math.PI....
分类:
其他好文 时间:
2015-03-03 13:26:04
阅读次数:
121
1、颜色--rgba 6、过渡--transition2、透明度--opcity 7、动画--animation3、圆角--border-radius 8、渐变--gradient 4、投影--shadow5、变...
分类:
Web程序 时间:
2015-03-03 11:31:59
阅读次数:
134
实现方法: (1)利用canvas画布,fillRect()描绘出一个矩形(不是透明),定位盖在某个标签如div上面(这个标签写着中奖的信息) (2)globalCompositeOperation = 'destination-out';利用此属性,手指划过画布,arc(x,y, radius.....
分类:
Web程序 时间:
2015-03-02 18:18:39
阅读次数:
208
前言:折腾了半天圆角,发觉border-radius是css3的新特性,简单粗暴的解决了button的圆角显示,中间由于css权重问题,导致即使我设置了圆角也一直没有生效。以下是找到的相当不错的一篇css样式权重讲解的,清晰明了,看完就懂是啥了。永记在心:important > 内联 > ID > ...
分类:
Web程序 时间:
2015-02-26 16:24:28
阅读次数:
165
ChouTiZhanShi.html
-->
body{background:url("img/bg.jpg")no-repeat}
*{margin:0px; padding:0px;}
#imgs{width:1218px ; height:233px ;border-radius:9px;
box-shadow:0px 0px 8p...
分类:
Web程序 时间:
2015-02-26 10:06:06
阅读次数:
183
MyHtml.html
-->
*{margin:0px;padding:0px}
#header{width:1300px;height:37px;border:1px solid #F00;margin:0px auto;
box-shadow:3px 2px 15px #000000;border-radius:3px;overflow...
分类:
Web程序 时间:
2015-02-26 10:05:27
阅读次数:
192
这两天的CSS3学习笔记:
慕课网课程地址:
http://www.imooc.com/learn/33
笔记:
边框:
圆角效果border-radius:同border相同的缩写方式;阴影box-shadow:
参数说明:
说明:
单位除了用px也可以用百分比;多个阴影:用逗号隔开即可;模糊半径与扩展半径的区别:
阴影模糊半径:此参...
分类:
Web程序 时间:
2015-02-23 09:43:44
阅读次数:
200
业务开发过程中,为了避免用户的误操作,提示框是必要的,于是琢磨出了下面这个使用,方便的提示框还要引入遮罩层的样式如下:/*弹出层*/.input{height: 32px;border: 1px solid #ccc;border-radius:1px;width:240px;}.layer_ico...
分类:
Web程序 时间:
2015-02-22 22:58:50
阅读次数:
373