以前常用的页面布局是浮动和定位;后来css3的flex布局解决了浮动的一些主要缺点(无法撑起父元素,需要清除浮动) 任何一个容器都可以指定为 Flex 布局。 flex 主要属性表现: (1). 指定为flex display:flex; (2). 指定 方向 flex-direction: row ...
分类:
其他好文 时间:
2019-04-17 15:08:03
阅读次数:
131
1、display flex | inline-flex;(适用于父类元素上) (1) flex:将对象作为弹性伸缩盒显示。 (2) inline-flex:将对象作为内联块级弹性伸缩盒显示。 2、flex-flow (适用于父容器上)复合属性。 (1) flex-direction(适用于父容器的 ...
分类:
其他好文 时间:
2019-04-17 09:44:02
阅读次数:
183
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2019-04-09 20:27:21
阅读次数:
175
底层动态代理 程序运行期间动态的将某段代码切入到指定方法指定位置进行运行的编程方式 导入aop的相关模块 动态感知业务类运行的状态 通知: 前置 @Before 后置 @After 环绕 @Around 异常@AfterThrowing 返回 @AfterReturning 补充环绕通知: 动态代理 ...
分类:
编程语言 时间:
2019-04-07 22:07:04
阅读次数:
180
NumPy 数学函数 NumPy 提供了标准的三角函数:sin()、cos()、tan() numpy.around() 函数返回指定数字的四舍五入值 numpy.floor() 返回数字的下舍整数 numpy.ceil() 返回数字的上入整数 NumPy 算术函数 NumPy 算术函数包含简单的加 ...
分类:
其他好文 时间:
2019-03-28 00:28:07
阅读次数:
167
Because @types/react has to expose all its internal types, there can be a lot of confusion over how to type specific patterns, particularly around hig ...
分类:
其他好文 时间:
2019-03-27 21:02:01
阅读次数:
203
一、Spring的AOP的基于AspectJ的XML的开发 1、AOP的概述 AOP:面向切面编程,是OOP的扩展和延伸,是用来解决OOP遇到问题。 2、Spring的AOP底层的实现(自动调用) JDK的动态代理:有接口的 Cglib的动态代理 3、AOP的相关术语 连接点:可以被拦截的点。 切入 ...
分类:
编程语言 时间:
2019-03-26 01:32:51
阅读次数:
145
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2019-03-18 13:20:52
阅读次数:
150
Centos7.6上yum安装kubernetes报错:Error:docker-ce-cliconflictswith2:docker-1.13.1-91.git07f3374.el7.centos.x86_64Youcouldtryusing--skip-brokentoworkaroundtheproblemYoucouldtryrunning:rpm-Va--nofiles--nodige
分类:
Web程序 时间:
2019-03-14 01:02:46
阅读次数:
634