transform:rotate旋转deg #box1{
-moz-transform:rotate(10deg); -webkit-transform:rotate(10deg); }transform:skew倾斜
#box2{ -mo...
分类:
Web程序 时间:
2014-05-27 00:47:36
阅读次数:
309
CSS3中的过渡Transition有四个中心属性:transition-property、transition-duration、transition-delay和transition-timing1、transition-property的语法[css]
transition-property....
分类:
Web程序 时间:
2014-05-24 06:58:08
阅读次数:
317
在 CSS 中,选择器是一种模式,用于选择需要添加样式的元素。"CSS" 列指示该属性是在哪个
CSS 版本中定义的。(CSS1、CSS2 还是 CSS3。)选择器例子例子描述CSS.class.intro选择 class="intro"
的所有元素。1#id#firstname选择 id="fir...
分类:
Web程序 时间:
2014-05-23 12:38:30
阅读次数:
435
哎,第一,我想说官网的教程尚需完善第二:是我自己基础不好,所以费了点劲就是这样:tcp::endpoint
end_p(boost::asio::ip::address_v4::from_string("127.0.0.1"), target_port);
tcp::endpoin...
分类:
其他好文 时间:
2014-05-23 11:45:19
阅读次数:
279
通过CSS3 Media
Query实现响应式Web设计一、响应式设计(一)响应式设计初识,一个小小的demo,用来理解什么是响应式今天的一个小小的demo,让我重新的认识了什么是响应式网页设计。我之前一直以为主要一个网页在不同的设备上浏览,网页可以自适应设备的屏幕大小,而不发生结构变形。其实我觉得...
分类:
其他好文 时间:
2014-05-19 18:42:24
阅读次数:
313
Combination Sum IGiven a set of candidate
numbers (C) and a target number (T), find all unique combinations in C where the
candidate numbers sums to T...
分类:
其他好文 时间:
2014-05-19 16:41:14
阅读次数:
269
【题目】
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution.
For example, given array S = {...
分类:
其他好文 时间:
2014-05-18 10:37:57
阅读次数:
269
1、初始化
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTim...
分类:
移动开发 时间:
2014-05-18 08:52:17
阅读次数:
327
【题目】
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.
Note:
Elements in a quadruplet (a,b,c,d) must be in non-descending ord...
分类:
其他好文 时间:
2014-05-18 08:46:04
阅读次数:
227
题目:给定一个数组,以及一个 target 值,target 表示目标和,要求在数组中找到两个数,xi,xj,使得 xi + xj = target。返回值是找到的两个数的下标索引,升序排序。假定至少存在一对解。
分析:对于要处理数组的问题,我们的理想状态都是给定的数组是有序的就好了,在有序后,我们就可以首位各放一个标记。类似于二分查找。
vector twoSum(vector &n...
分类:
其他好文 时间:
2014-05-18 08:04:03
阅读次数:
234