网易注册页面知识点

header 页眉

content 内容

footer  页脚

盒子居中  margin: 0 auto;

links  链接

no-repeat 不平铺

父子关系用padding

盒子变大用box-sizing: border-box;

即在一行,又能设置宽高display: inline-block;

a标签没有下划线text-decoration: none;

要想一行文字在盒子中垂直居中只需要设置这行行高等于盒子高度line-height: 27px;

如果一个盒子中有多行文字,只能通过padding实现

 

原文地址:https://www.cnblogs.com/qaszxc/p/7352854.html