#container{ transition:all 3s; margin:-20px auto;
width:1px; height: 500px; animation: around 8s infinite ease;} #line{width:
1p...
分类:
Web程序 时间:
2014-05-10 00:39:24
阅读次数:
4537
当使用css3时,会遇到利用@keyframes来定义动画事件,利用下面3个事件,可以捕捉当前元素...
分类:
Web程序 时间:
2014-05-09 15:15:04
阅读次数:
373
@interface Person : NSObject@property (nonatomic,
copy) NSString *name;@end @interface Student :
Person@end1.Student类无法使用_name来访问Person中属性name,因为当使用@p...
分类:
其他好文 时间:
2014-05-09 08:20:33
阅读次数:
268
本文介绍一种设计模式 Dynamic Property(动态属性)模式。
分类:
其他好文 时间:
2014-05-09 05:28:37
阅读次数:
334
几个可以用来实现热门APP应用PATH中menu效果的几个方法+(CABasicAnimation*)opacityForever_Animation:(float)time//永久闪烁的动画{
CABasicAnimation*animation=[CABasicAnimationanimatio...
分类:
其他好文 时间:
2014-05-09 03:48:29
阅读次数:
225
1) 错误:The prefix "context" for element "context:property-placeholder" is not bound.
解决:在文件头中引入:xmlns:context="http://www.springframework.org/schema/context" 即可。
正解例子:
xmlns:xsi="http://www...
分类:
其他好文 时间:
2014-05-09 02:16:02
阅读次数:
406
如下图:
从user_logs表格select出来的数据放在一个可变数组NSMutableArray中,如 user_logs,现在要
把数据一条条转化为Userlog databean,UserLog定义如下:
@interface UserLog : NSObject
@property(strong,nonatomic) NSString * logId;
@property(...
分类:
数据库 时间:
2014-05-09 01:02:22
阅读次数:
373
Transform:DOM变形Transition:某个DOM或者多个DOM变化,只有两个关键帧。Animation:生成动画,可以多个关键帧Transition
需要触发的时事件。Animation不需要
分类:
Web程序 时间:
2014-05-08 23:00:29
阅读次数:
371
#import @interface Person : NSObject{ Book *
_book; int _age;}/* oc对象 1.@property能制动生成setter和getter方法
2.retain告诉编译器自动生成setter里的retain 3.atomic:低性能(默认情...
分类:
其他好文 时间:
2014-05-08 18:33:51
阅读次数:
303
#import @interface Person : NSObject{ /*
成员变量作用域有四种: 1.@public:能在程序中任何地方直接访问成员变量 2.@protect:能在当前类和子类中直接访问成员变量(默认情况下)
3.@provate:只能在当前类中直接访问成员变量(@prope...
分类:
其他好文 时间:
2014-05-08 09:14:29
阅读次数:
500