旧式的弹性盒子方法1、在拥有盒子的盒子上加display:box; 或inline-box开启弹性盒模型2、box-flex 分配空间,假如容器有a份,box-flex:2,那就占a分之23、分布方向 水平box-orient: horizontal; 垂直box-orient:vertical;4... Read More
posted @ 2015-09-06 22:51
tinyphp
Views(418)
Comments(0)
Diggs(0)
几个突破口:(为了更简洁理解,先忽略兼容)1、认识3D的坐标系rotateX()-----------元素绕X轴旋转rotateY() -----------元素绕Y轴旋转rotateZ() -----------元素绕Y轴旋转transform:rotateX(20deg);2、perspecti... Read More
posted @ 2015-09-06 20:07
tinyphp
Views(574)
Comments(0)
Diggs(0)
假如IE6、IE7、IE8的DIV元素的左外边距均不一致。可以作如下设置便可以解决此类问题:div{ padding-left:250px; //解析到此处==>所有的IE均设置为250px *padding-left:50px; //解析到此处==>IE6和IE7设置为50px ... Read More
posted @ 2015-09-06 09:49
tinyphp
Views(148)
Comments(0)
Diggs(0)