学完css3-3d变化有两个星期了,最近忙点其他的事,一直忘了写博客。本人系属前端攻城的新手,很多不懂的地方希望得到帮助。3d变换首先要知道的这是哪个属性transform-style(preserve-3d) 建立3D空间//在需要进行3d变换的dom元素上加这个属性Perspective 景深/...
分类:
Web程序 时间:
2015-05-02 16:34:29
阅读次数:
157
This demo illustrates how you can move and transform all your data using Oracle Data Integration - whether that data resides in Oracle Database, Hadoo...
分类:
数据库 时间:
2015-05-02 11:07:00
阅读次数:
179
使用CAAnimationGroup类进行复数动画的组合。代码如下:/* 动画1(在X轴方向移动) */CABasicAnimation *animation1 = [CABasicAnimation animationWithKeyPath:@"transform.translation.x"];...
分类:
其他好文 时间:
2015-05-01 12:01:19
阅读次数:
132
x轴旋转:CABasicAnimation *theAnimation;theAnimation=[CABasicAnimation animationWithKeyPath:@"transform.rotation.x"];theAnimation.duration=1;theAnimation....
分类:
其他好文 时间:
2015-05-01 12:00:02
阅读次数:
108
keyPath分为:transform.scale transform.scale.x transform.scale.y transform.scale.z CABasicAnimation* scale = [CABasicAnimation animationWithKeyPath:@"tr....
分类:
其他好文 时间:
2015-05-01 11:55:15
阅读次数:
116
二维饼图代码如下:#绘制2维饼图
x=read.delim("C:/Users/a/Desktop/sample.txt",header=FALSE)#读入文本数据
names(x)=c("word","count")#加表头
x=transform(x,pct=round(x$count/sum(x$count)*100))#数据框增加百分比列
y=x[order(x[,2],decreasing=T),]#排序
z=head(y,n=10..
分类:
其他好文 时间:
2015-04-30 20:29:36
阅读次数:
197
1、部分手机(联想、红米)的部分iScroll无法响应点击事件 设置click属性值为true; 2、部分手机(联想、红米)在可滚动内容变换的时候出现内容无法显示的情况 设置useTransform属性值为false; 原因是该类手机不支持css3的transform属性; ...
分类:
其他好文 时间:
2015-04-30 19:38:59
阅读次数:
137
官方例图测试:code:public Transform point1;public Transform point2;public Transform humanPoint;public Transform targetPoint;void Start(){}void Update(){ t...
分类:
其他好文 时间:
2015-04-30 15:49:16
阅读次数:
198
默认用法,不支持旋转:var cross = Vector3.Cross(lhsObject.transform.position, rhsObject.transform.position);if (cross.y > 0) //sideif(cross.y < 0)//another side用...
分类:
其他好文 时间:
2015-04-30 00:49:39
阅读次数:
131
perspective && perspective-originperspective是物体相对于画布的视距距离perspective-origin是物体在画布位置的中心视点transform3dtransform-origin 旋转中心
分类:
其他好文 时间:
2015-04-30 00:47:31
阅读次数:
175