html部分 <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>旋转木马轮播图</title> <link rel="stylesheet" href="css/css.css"/> <script type="t ...
分类:
其他好文 时间:
2017-06-19 10:59:39
阅读次数:
188
import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; imp... ...
分类:
其他好文 时间:
2017-06-19 00:30:47
阅读次数:
190
var Person=function(){}; Person.say=function(){ console.log('I am a Person,I can say.') }; Person.prototype.getName=function(name){ console.log('My na ...
分类:
Web程序 时间:
2017-06-18 21:55:20
阅读次数:
185
1. str.format():使用“{}”占位符格式化字符串(占位符中的索引号形式和键值对形式可以混合使用)。 2. 使用“%”进行字符串格式化。 ...
分类:
编程语言 时间:
2017-06-18 19:02:52
阅读次数:
196
This article introduces how to derive the representation formula used in BEM from Green's identity. Interior and exterior representation formulas Let ...
分类:
其他好文 时间:
2017-06-18 18:54:08
阅读次数:
211
.net的webservice不支持web方法的重载,但是可以通过设置WebMethod属性的MessageName字段来达到重载web方法的目的。 通过设置WebMethod属性的EnableSession=true,可让webservice支持session。 通过设置ScriptMethod属 ...
分类:
Web程序 时间:
2017-06-18 18:53:02
阅读次数:
206
.rotation { -webkit-animation-name: rotation; -webkit-animation-duration: 30s; -moz-animation-name: rotation; -moz-animation-duration: 30s; }... ...
分类:
Web程序 时间:
2017-06-18 18:14:39
阅读次数:
274
1.过渡:只是一个瞬间的动作,只得到最后的效果。(由开始到结束,没有过程)。 2.过渡的设置: a.过渡的效果: trasition-property:all;参与过渡的属性。(设置哪些实现过渡效果,all代表所有属性)。 trasition-duration:5s;持续的时间。(过渡效果持续改变的 ...
分类:
Web程序 时间:
2017-06-18 18:10:29
阅读次数:
254
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the lo ...
分类:
其他好文 时间:
2017-06-18 18:08:00
阅读次数:
127
1.帧动画介绍: CAKeyframeAnimation它可以在多个值之间进行动画. 设置多值之间的属性为: 后面是一个数组,就是要设置的多个值. anim.values = @[]; 它还可以根据一个路径做动画. anim.path = 自己创建的路径. 2.图片抖动思路: 其实就是做一个左右旋转 ...
分类:
其他好文 时间:
2017-06-18 17:27:48
阅读次数:
174