首页 > 代码库 > css3基础下

css3基础下

box-shadow:0 5px 5px rgba(0,0,0,0.5)

文本

text-shadow:5px 5px 4px green;

word-wrap:

 

背景:

background:#ffffff url() 0 0 no-repeat;

background-size:大小

background-orgin:位置{padding-box:;border-box;content-box;}

background-clip:绘制区域{padding-box;border-box;content-box;}

字体:

@font-face{

font-family:<webFontName>;

src:<source>[<format>];

}

.fonts{

font-size:80px;

font-family:name;

}

@font-face{

font-family:name;

src:url(fonts/shine....);

font-weight:normal;

font-style:normal;

}

 透明

opacity:0.8; 0-1;

filter:alpha(opacity=80); 针对IE8以及更早版本

background-color:taransparent;

background:rgba(0,0,0,.5);透明度和颜色

 

css3基础下