参数格式:
box-shadow: X轴偏移量 Y轴偏移量 [阴影模糊半径] [阴影扩展半径] [阴影颜色] [投影方式];
注意:inset 可以写在参数的第一个或最后一个,其它位置是无效的。
box-shadow: X轴偏移量 Y轴偏移量 [阴影模糊半径] [阴影扩展半径] [阴影颜色] [投影方式];
注意:inset 可以写在参数的第一个或最后一个,其它位置是无效的。
2016-05-07
总结下,CSS3中的三种动画:tranform形变动画/transition缓动动画/animation逐帧动画;
tranform: rotate旋转/skew扭曲/scale缩放/translate移动/matrix矩阵变形;
transition: property duration timing-function delay;
animation: KeyframesName duration timing-function delay iteration-count direction play-state fill-mode;
时间: 2015-01-25
tranform: rotate旋转/skew扭曲/scale缩放/translate移动/matrix矩阵变形;
transition: property duration timing-function delay;
animation: KeyframesName duration timing-function delay iteration-count direction play-state fill-mode;
时间: 2015-01-25
2016-05-06
最赞回答 / 我想做前端大牛
http://www.tuicool.com/articles/qmymAjv 这个很全面的解释了主轴侧轴问题,老师这里讲错了也很不全面,juseify content与align items的问题不是老师讲的那样
2016-05-06
什么叫清除浮动,去了before 或者after 效果都一样啊 还是说就得两个一起用啊 不是很明白
2016-05-05
#brand:target p:first-of-type{
background: orange;
color: #fff;
}
background: orange;
color: #fff;
}
2016-05-05
已采纳回答 / fiona007
选择器是要满足所有条件才可以的。第一个条件: .wrapper下的子类div。第二个条件:.wrapper下的last-child。即.wrapper下的子类div中在.wrapper中又是最后一个元素的。然而这里没有任何一个div是.wrapper下的最后一个元素所以不执行
2016-05-04
@-webkit-keyframes changecolor{
0%{
background: red;
}
20%{
background:blue;
}
40%{
background:orange;
}
60%{
background:green;
}
80%{
background:yellow;
}
100%{
background: red;
}
}
div:hover {
-webkit-animation: changecolor 5s ease-out .2s;
}
0%{
background: red;
}
20%{
background:blue;
}
40%{
background:orange;
}
60%{
background:green;
}
80%{
background:yellow;
}
100%{
background: red;
}
}
div:hover {
-webkit-animation: changecolor 5s ease-out .2s;
}
2016-05-04