【原链接】http://www.2cto.com/kf/201310/248187.html
一、有点俗态的开场白要是两年前,实现“兼容性的渐变效果”这个说法估计不会被提出来的,那个时候,说起渐变背景,想到的多半是IE的渐变滤镜,其他浏览器尚未支持,但是,在对CSS3支持日趋完善的今天,实...
分类:
Web程序 时间:
2014-05-23 07:15:02
阅读次数:
308
NSTimer的使用方法1、初始化+ (NSTimer
*)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget
selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)...
分类:
其他好文 时间:
2014-05-23 07:01:44
阅读次数:
224
<div id="ad"
style="position:absolute"><a href="http://www.cnblog.com/wayne173"
target="_blank"><img src="http://static.cnblogs.com/ima...
分类:
Web程序 时间:
2014-05-23 06:58:38
阅读次数:
330
type:事件的类型,如onlick中的click;srcElement/target:事件源,就是发生事件的元素;button:声明被按下的鼠标键,整数,1代表左键,2代表右键,4代表中键,如果按下多个键,酒把这些值加起来,所以3就代表左右键同时按下;(firefox中
0代表左键,1代表中间键,...
文字阴影text-shadow的使用方法text-shadow: length length
length color;前三个length分别表示 阴影离开文字的横方向距离(也就是X轴方向),阴影离开文字纵方向的距离
(即Y轴方向),阴影的模糊半径,color是指阴影的颜色专注前端div{ font...
分类:
Web程序 时间:
2014-05-21 17:38:35
阅读次数:
304
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
【题目】
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
Note:
All numbers (including target) w...
分类:
其他好文 时间:
2014-05-21 15:21:28
阅读次数:
292
关于webApp响应式设计遇到的问题,分享给大家,最近在做一个手机webApp,因为我手机是”米3“,屏幕截图大小是1080宽,所以css样式用@media screen and(min-width:1080px){ ...... },来判断屏幕最小宽度是1080px的手机web显示什么样的样式,结果却不能正常显示我所指定的css样式,最后在网上查了一下,发现分辨率的范围不对惊恐。...
分类:
移动开发 时间:
2014-05-21 15:17:17
阅读次数:
267
Installing in iOS (Xcode 5)
1:首先你要有一个项目。LOL
2:添加一个新的测试target。(关于Target是什么,请参考我的另外一篇文章)最新版Xcode 将Add Target放在顶部栏
3:选择新的target的类型
4:将GHUnit框架放到新建的target中
5:打开Objective-C categories,...
分类:
移动开发 时间:
2014-05-21 07:49:12
阅读次数:
399
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230