摘要: (1) background-color:背景颜色(2) background-image:url(' ') 把图像设置为背景(3) background-repeat:设置背景图像如何重复 · no-repeat:不重复 · repeat-x: 沿着x方向重复(4) background-posi 阅读全文
posted @ 2019-10-12 17:37 cjl2019 阅读(669) 评论(0) 推荐(0) 编辑
摘要: (1) color:颜色 <p style="color:red;">更改文字颜色</p> (2) line-height:行高 <p style="line-height:4em;">更改行高</p> (3) text-align:文本水平对齐方式 · left: 默认值(对齐父元素基线) · r 阅读全文
posted @ 2019-10-12 17:34 cjl2019 阅读(260) 评论(0) 推荐(0) 编辑