css基础语法
创建:
<link
rel="stylesheet" type="text/css" href="mystyle.css
" />
selector{ }:
id选择器:#id{ }
类别选择器: .class{}
标签选择器: tab{}
css样式
1.背景:background-color background-image backgroud-repeat background-position
2.文本:text-indent:文本缩进 text-align color direction line-height letter-spacing text-align text-decoration text-indent text-shodow unicode-bidi white-space word-spce
3.字体:font font-family font-size font-size-adjust font-stretch font-style font-varant font-weight
3:链接:a:link,visited,hover,active
4.列表:list-style-type,list-style-image,list-style-position
5.表格:border-collape,border-spaceing,caption-side,empty-cess,table-layout
6.轮廓:outline,outline-color,outline-style,outline-width
css框模型
padding padding-bottom padding-left padding-right padding-top