Skip to content
Snippets Groups Projects
Commit 96499354 authored by Haoyu Sun's avatar Haoyu Sun
Browse files

reset css

parent 2148b755
No related branches found
No related tags found
3 merge requests!20Five pages index controller,!19Five pages index controller,!1Dev
This diff is collapsed.
This diff is collapsed.
header{
height: 90px;
}
header div:nth-of-type(1){
float: left;
margin-right: 40px;
margin-top: 13px;
}
header div:nth-of-type(2) ul li{
float: left;
font-size: 16px;
padding:37px 24px 37px ;
}
header div:nth-of-type(3){
float: right;
}
\ No newline at end of file
/* 清空默认值 */
/* 块级元素除了div以外都会有默认值 内联元素除了img input textarea select之外都没有 */
* {
margin: 0;
padding: 0;
line-height: 1;
}
/* 去掉超链接的下划线 */
a {
text-decoration: none;
}
/* li去掉列表符号 */
li {
list-style: none;
}
/* 插入的图片 */
img {
/* 清除图片向下撑大的3px */
vertical-align: middle;
/* 超链接出来的图片都会存在边框 */
border: none;
}
/* 万能清除法 高度塌陷 */
.clearfix:after {
content: "";
display: block;
clear: both;
height: 0;
overflow: hidden;
visibility: hidden;
}
/* 左浮动 */
.l {
float: left;
}
/* 右浮动 */
.r {
float: right;
}
/* 安全区 */
.safe {
width: 1170px;
margin: 0 auto;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment