1.文字样式
color 文本颜色
font-size 文字大小
font-style: italic 文字倾斜
font-variant: small-caps;小型的大写字母
font-weight: bold;文本加粗
2.文本样式
color 文本颜色
text-shadow,文本阴影,
属性值:水平方向上的位移 垂直方向上的位置,模糊度,颜色
text-decoration: line-through underline;文本样式加线
英语单词首字母大写
text-indent: 2em;文本缩进
text-align: center;文本位置对齐方式 左右中
3.背景颜色
background-color,背景颜色
background-image: url(),背景图片
background-size: contain;背景尺寸 contain照片完全显示出来 cover 照片完全显示出来
background-position: center;背景定位,属性值有两类,只写一个的情况下另外一位默认是中间
background-attachment: fixed;背景固定
background-clip: border-box;默认背景位置从边框开始,padding-box;从内填充开始, content-box;从内容区域开始
4.边框样式
border-width: 100px;边框线宽
border-style: solid;线的样式
border-color: ;颜色
border:线宽 样式 颜色;
border-radius: ;边框圆角
box-shadow: 水平位移 垂直位移 模糊度 颜色;