1.border-radius:边框圆角

2.border-shadow:边框阴影

3.border-image:边框背景图片

使用方法:

1.边圆角

div{

border:2px solid red;

border-radius:10px;

}

2.边框阴影

div{

box-shadow:10px 10px 5px #000frg;

}

3.边框背景图片

div{

border-image:url(border.png) 30 30 round;

-moz-border-image:url(border.png) 30 30 round;

-webkit-border-image:url(border.png) 30 30 round;

-o-border-image:url(border.png) 30 30 round;

}