HTML第四次笔记

5.CSS常用属性设置

5.1背景

5.1.1 background-color

5.1.2 background-image

5.1.3 background-repeat

 

5.2文本

5.2.1 color

5.2.2 text-align

5.2.3 text-decoration

 

5.2.4 text-indent

5.4对齐方式

5.5 display属性

5.6 浮动

 

 

运行结果

 

5.7盒子模型

5.7.1 border

 

 

 

5.7.2 padding

5.7.3 margin 

猜你喜欢

转载自blog.csdn.net/yanghuagai2311/article/details/122810094