“时钟展示项目”说明文档(文档尾部附有相应代码) 一、最终效果展示: 二、项目亮点 1.代码结构清晰明了 2.可以实时动态显示当前时间与当前日期 3.界面简洁、美观、大方 4.提高浏览器兼容性 三、知识点汇总: jQuery、原生javascript、css3、h5 四、重难点解释 1.各个指针的旋 ...
分类:
编程语言 时间:
2017-10-22 01:27:58
阅读次数:
295
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:
其他好文 时间:
2017-10-20 21:38:54
阅读次数:
172
两者顺序不能反过来,某些系统会有不可预料的错乱 display: -webkit-flex; display: flex; 背景,background-size 必须单独拆出来,理由同上 background: url(../img.jpg) no-repeat center/cover; 负缩进 ...
分类:
其他好文 时间:
2017-10-20 20:05:32
阅读次数:
141
1.<% %>用来绑定后台代码如:< %for(int i=0;i<100;i++){Reaponse.Write(i.ToString());}%> 2.<%# %> 是在绑定控件DataBind()方法执行时被执行,用于数据绑定如: < %# Container.DataItem("title" ...
分类:
其他好文 时间:
2017-10-20 15:58:17
阅读次数:
125
angular应用中,ng-repeat很方便的实现了数组的展示: 这里我们用到了ng-repeat嵌套来实现二维数组,而定位显然使用二维数组下标是最好不过的,里层的ng-repeat使用 $index 记录下标位置没错,那么如果将外层的 $index 也传入记录呢? $parent.$index ...
分类:
其他好文 时间:
2017-10-19 15:53:52
阅读次数:
230
10.18笔记1、雪碧图:background:缩写形式background-color 背景色background-image 背景图background-repeat 背景图重复方式background-position 位置坐标 偏移量2、文字的线dext-decoration:样式 位置 颜 ...
分类:
其他好文 时间:
2017-10-18 20:10:00
阅读次数:
143
背景属性:background 缩写形式background-color 背景色background-image 背景图background-repeat 背景图重复background-position 位置坐标background:rgba(0,0,0,0.1) α值 alpha vlaue w... ...
分类:
其他好文 时间:
2017-10-18 19:47:18
阅读次数:
151
angular.module('myApp',[]) .directive('bookList',function () { return{ restrict:'ECAM', controller:function ($scope) { console.log($scope); $sco... ...
分类:
其他好文 时间:
2017-10-18 18:22:52
阅读次数:
249
字符串 includes() 返回布尔值,表示是否找到了参数字符串 startsWith() 返回布尔值,表示参数字符串是否在源字符串头部 endsWith() 返回布尔值,表示参数字符串是否在源字符串头部 repeat() 返回一个新字符串,表示将源字符串重复n次 数值 Number.isFini ...
分类:
其他好文 时间:
2017-10-18 16:44:22
阅读次数:
220
10.18号笔记1.样式背景属性:background(缩写形式) background-color(背景色) background-image(背景图) background-repeat(背景图重复方式) background-position(位置坐标、偏移量)2.rgba(0,0,0,0.5 ...
分类:
其他好文 时间:
2017-10-18 16:43:48
阅读次数:
194