flex: 概念: flex容器: display:flex flex项: 轴:水平的主轴、垂直的交叉轴 容器的属性: 1. flex direction(决定主轴的方向、即项目的排列方向) 1.1 row(默认值): 主轴为水平方向,起点在左端 1.2 row reverse: 主轴为水平方向,起 ...
分类:
其他好文 时间:
2018-10-19 00:06:31
阅读次数:
133
drawLineBox(new THREE.Vector3(100, 50, 0), new THREE.Vector3(200, 100, 100)); function drawLineBox(start, end) { //开始点用cube标出来方便观察 geometry = new THRE ...
分类:
Web程序 时间:
2018-10-18 13:58:20
阅读次数:
815
The high level of English is a standard for a top student. 1. Self-trust is the first secret of success. 2. “Movement in a new direction helps you fin ...
分类:
其他好文 时间:
2018-10-14 11:39:56
阅读次数:
199
因为一直为元素居中问题而困扰,所以决定把自己遇到和看到的方法记录下来,以便以后查看 如果要让inline或inline-block元素居中显示,则父元素css中包含text-align:center; 如果让block元素居中,为其本身添加margin:0 auto; 复杂情形下可以用: displ ...
分类:
Web程序 时间:
2018-10-12 23:46:52
阅读次数:
231
1.marquee 滚动标签 他身上所具有的功能有标签属性决定。 direction 决定滚动方向 scroll 连续滚 slide 滚动一次 alternate 来回滚动 loop 循环的次数 默认是无数次 scrollamout 运动速度 默认是6 scrollamount 运动速度 默认是6 ...
分类:
其他好文 时间:
2018-10-12 16:01:13
阅读次数:
120
本文主要介绍Flutter布局中的Row、Column控件,详细介绍了其布局行为以及使用场景,并对源码进行了分析。 ...
分类:
其他好文 时间:
2018-10-06 14:30:22
阅读次数:
209
主要通过6个控制点实现。 绘制过程: 一些扩展函数,方便直接使用 PointF。 动画 分为 6 个阶段完成 具体请看: "https://github.com/stefanJi/AndroidView/tree/master/jumpwater" ...
分类:
移动开发 时间:
2018-10-05 21:04:24
阅读次数:
459
1 /// 2 /// 摄像头转换 3 /// 4 /// 摄像头转换方向 5 public void ChangeCameraDirectionMet(CameraDevice.CameraDirection s_cameraDirection) 6 { 7 //停止当前摄像头 8 CameraD... ...
分类:
编程语言 时间:
2018-10-03 21:11:04
阅读次数:
409
<style> body{ margin:0; } #box{ height:200px; border:1px solid #000; 新版弹性盒模型 /*display:flex;*/ /*flex-direction:row;*/ 设置主轴方向为水平方向 /*flex-direction:co ...
分类:
其他好文 时间:
2018-10-02 14:22:49
阅读次数:
157