A - Plate Game You've got a rectangular table with length a and width b and the infinite number of plates of radius r. Two players play the following ...
分类:
其他好文 时间:
2017-07-20 20:59:13
阅读次数:
269
Swift语言有非常多函数式编程的特性。常见的map,reduce,filter都有,初看和python几乎相同,以下简介下闭包介绍:闭包是自包括的功能代码块,能够在代码中使用或者用来作为參数传值。如果我们须要两个函数,当中一个计算两个数的平方的平均值,还有一个计算两个数的立方的平均值,传统的解决方 ...
分类:
编程语言 时间:
2017-07-20 19:42:55
阅读次数:
131
canvas 属性参考手册:http://www.w3school.com.cn/tags/html_ref_canvas.asp ...
分类:
Web程序 时间:
2017-07-18 13:43:33
阅读次数:
192
盒模型属性【宽高width/height】(全兼容)
width
height
(IE6-不支持)
min-width
max-width
min-height
max-height【内边距padding】padding【边框border】(全兼容)
border
border-width
border-color
border-style
(IE8-不支持)
border-radius
(IE10-不支持)
border-p_w_pic..
分类:
Web程序 时间:
2017-07-18 11:45:07
阅读次数:
184
css样式属性比HTML用标签来添加方便很多,样式也比较多样。不过需要记得东西就更多了。 按 钮 ABCD 1234 ABCD 1234 1 2 3 4 <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <styl ...
分类:
Web程序 时间:
2017-07-18 00:03:37
阅读次数:
228
//地球半径,单位米 private const double EARTH_RADIUS = 6378137; /// <summary> /// 计算两点位置的距离,返回两点的距离,单位 米 /// 该公式为GOOGLE提供,误差小于0.2米 /// </summary> /// <param n ...
每次使用box-shadow,都要查阅资料才能实现对应的效果,现在总结一下,方便以后查看。 使用语法: element{box-shadow: inset x-offset y-offset blur-radius spread-radius color}; element{box-shadow: ...
分类:
其他好文 时间:
2017-07-16 13:33:11
阅读次数:
195
1. CSS3实现圆角(border-radius),阴影(box-shadow), 2. 对文字加特效(text-shadow、),线性渐变(gradient),旋转(transform) 3.transform:rotate(9deg) scale(0.85,0.90) translate(0p ...
分类:
Web程序 时间:
2017-07-15 15:58:29
阅读次数:
154
关键词:animation,transform-style,perspective,border-radius ...
分类:
其他好文 时间:
2017-07-15 14:47:46
阅读次数:
189