CSS标签属性大全

来源:互联网 发布:最难防范的网络攻击 编辑:程序博客网 时间:2024/05/16 04:53

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

0 0
原创粉丝点击