清除浮动的代码
2017-05-02 14:48
127 查看
清除浮动的问题
/*清除浮动*/
* html .fixed {
height: 1%
}
.fixed:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden
}
.fixed {
display: block;
min-height: 1%
}
.clear {
display: block !important;
float: none !important;
clear: both;
overflow: hidden;
width: auto !important;
height: 0 !important;
margin: 0 auto !important;
padding: 0 !important;
font-size: 0;
line-height: 0
}
/*清除浮动*/
* html .fixed {
height: 1%
}
.fixed:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden
}
.fixed {
display: block;
min-height: 1%
}
.clear {
display: block !important;
float: none !important;
clear: both;
overflow: hidden;
width: auto !important;
height: 0 !important;
margin: 0 auto !important;
padding: 0 !important;
font-size: 0;
line-height: 0
}
相关文章推荐
- 最实用的清除浮动代码
- clearfix:after清除浮动的用法及测试代码
- 关于CSS Hack与float闭合的CSS技巧 清除浮动代码
- div清除浮动css样式代码分享(4种方法)
- 清除浮动的七种方式方法(实例代码讲解)
- 清除浮动的七种方式方法(实例代码讲解)
- CSS实用代码:清除浮动、单行省略号、图片宽高比例、display兼容代码、三角形状
- 关于li:hover的怎么清除浮动问题实现代码
- 清除浮动的七种方式方法(实例代码讲解)
- CSS 清除浮动代码
- DIV 清除样式浮动万能代码
- web前端基础:清除浮动代码
- W3标准不变 清除浮动实现代码
- (转载)最实用的清除浮动代码 css的文字过长裁剪后面跟着省略号
- 清除浮动的七种方式方法(实例代码讲解)
- 浮动广告代码在网页两侧
- 浮动广告代码在网页两侧
- 左右两侧浮动广告代码
- 浮动广告代码在网页两侧
- 浮动广告代码在网页两侧