background–color(背景颜色)
auto(居中)
color(字体颜色)
font–size(字体大小)
margin(外边距)
margin–right(右边距)
margin–top(上边距)
margin–left(左边距)
nargin–bottom(下边距)
padding(内边距)
top(上)
bottom(下)
left(左)
right(右)
border–left(左边距颜色)
border–righr(右边距颜色)
border–bottom(下边距颜色)
border–top(上边距颜色)
soild(实线)
float–left(左浮动)[脱离文档流]
float–right(右浮动)[脱离文档流]
background:linear–gradient(颜色,颜色)[线性渐变]
overflow–hidden(消除浮动)
display:inline–block(行内块元素)[不能独占一行]
display:block(块状显示,独占一行)
display: inline–block(行内块元素)
overflow: hidder(清除浮动)
list–style: none(ul/ol样式啥也没有)
text–decoration: none(去掉a标签的下划线)
text–family:“microsoft yahei” , Arial , sans–serifi(设置字体类型)
text–decoration:underline(让a标签的下划线重新显示)
……:hover(鼠标经过变颜色)
……:first–child(单独设置第一个样式)
loren(模拟文字)
button(按钮)
input(搜索框)
line–height(设置字体行高)
opacity(透明度)范围值是0~1
background:agba(红,绿,蓝,值)
box–sizing:border–box(不计算边框大小)
first-child(设置第一个)
nth-child(2)(设置第二或第三......)
laat-child(设置最后一个)
(空格)
©(圈里面的C)
lorem(模拟文字)
网友评论