页面满屏且无左右滚动条
body加入:margin:0 ;
main主体设置width为100%即可自适应
测试通过主流浏览器
背景:
background-image:url(图片地址)
background-color:red/#fff;
文本:
text-indent:2em;(缩进)
text-align:center/left/right;三个值
word-spacing:3px;(字间距)
line-height:3px;(设置行高)
字体:
font-size 字体大小
font-family
font-weight 使用 bold 关键字可以将文本设置为粗体。
font-style 有三个值:normal - 文本正常显示italic - 文本斜体显示oblique - 文本倾斜显示