今天,带来的是纯CSS3的效果--图片3D翻转。
请看效果:http://webfront.verynet.cc/pc/rotate.html
这个效果主要还是运用了CSS3的transform变形属性,与上个效果不同的是,这次并不是动画,所以没有采用animation属性,而是采用transition过渡属性。这个属性会将元素在两种效果之间进行切换,并产生一个过渡效果。详情请看代码。...
分类:
Web程序 时间:
2014-09-25 17:06:39
阅读次数:
242
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定指定的任务task在指定的延迟delay后执行。定时器任务类TimerTask是抽象类,继承并重写其run()方法,可实现具体任务。sched...
分类:
编程语言 时间:
2014-09-25 16:53:59
阅读次数:
213
直接上代码,说明请看注释吧
ViewController.h
#import
@interface ViewController : UIViewController{
}
@property (strong, nonatomic)UICollectionView *collectionView;
@end
ViewController.m
#import "ViewControl...
分类:
其他好文 时间:
2014-09-25 16:13:19
阅读次数:
222
两种方法:-----------------------------------1----------------------------<!--加载链接数据库属性文件-->
<context:property-placeholderlocation="classpath:dataSource-configer.properties"/>-----------------------------------2-----------------------..
分类:
编程语言 时间:
2014-09-25 14:26:39
阅读次数:
154
使用第三方:QuiltView(可在cocoapods上找到).h文件#import<UIKit/UIKit.h>
#import"TMQuiltView.h"
#import"TMPhotoQuiltViewCell.h"
@interfaceSelfHomeViewController:UIViewController<TMQuiltViewDataSource,TMQuiltViewDelegate>{
}
@property(strong,nonat..
分类:
其他好文 时间:
2014-09-25 13:19:49
阅读次数:
220
#import
#import "Reachability.h"
@interface AppDelegate : UIResponder
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) Reachability *reach;
@end
#import "AppDele...
分类:
其他好文 时间:
2014-09-25 13:08:49
阅读次数:
315
setTimeout(func, 0)可以使用在很多地方,拆分循环、模拟事件捕获、页面渲染等一、setTimeout中的delay参数为0,并不是指马上执行 用firefox的firebug可以查看到,并不是按照delay1,delay2,delay3这样打印的。 由于JavaScript是...
分类:
编程语言 时间:
2014-09-25 10:23:58
阅读次数:
318
/// /// This method opens a file using System.IO classes and the /// TitleLocation property. It presumes that a file named /// ship.dds ha...
分类:
其他好文 时间:
2014-09-25 00:22:37
阅读次数:
215
UIViewController中的 @property(nonatomic,copy) NSString *title; // Localized title for use by a parent controller.,仔细理解英文注释的意思下面是Title的实际作用 //创建给分栏控制器.....
分类:
其他好文 时间:
2014-09-24 23:55:57
阅读次数:
201
System类在java.lang包中,所有方法都是静态的,里边有很多对系统的属性和控制方法System类有三个成员变量:out-标准输出流(默认是控制台),in-标准输入流(默认是键盘),err-标准错误流Properties是一个系统属性键和系统属性值得映射关系集合,所有的键和值都是String...
分类:
其他好文 时间:
2014-09-24 20:36:47
阅读次数:
192