渐变(Gradient)W3C标准渐变语法:linear-gradient([[ | to ],]?[,]+)1. :通过角度来确定渐变的方向。0度表示渐变方向从下向上,90度表示渐变方向从左向右。如果取值为下值,其角度按顺时针方向旋转。2.关键词:通过关键词来确定渐变的方向。比如“to top”... Read More
posted @ 2014-12-26 15:42 applejp Views(1360) Comments(0) Diggs(0)
mainContainer leftContainer rightContainer #main{width: 100%;float: left;background-color: purple;color: #f... Read More
posted @ 2014-12-23 18:40 applejp Views(200) Comments(0) Diggs(0)
解决网页在IE7中的兼容情况:*如:.content{height:30px;/*正常显示效果*/ *height:20px;/*IE7显示效果*/}display:inline-block;在IE7中不能使块状元素称为行内元素,IE7中若想让元素横向排列用float是最好的选择。IE7中的值要比... Read More
posted @ 2014-12-23 18:23 applejp Views(854) Comments(0) Diggs(0)