- 注册时间
- 2011-5-28
- 最后登录
- 2024-10-20
- 阅读权限
- 200
- 积分
- 9889
- 精华
- 20
- 帖子
- 2240
|
1、curvycorners.js引用实现
[backcolor=rgb(255, 255, 255) !important][size=1em][size=1em]1 | <script src="curvycorners.js" type="text/javascript"></script> |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]13 | background-color: Beige; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]15 | -webkit-border-radius: 10px; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]17 | -moz-border-radius: 10px; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]23 | <script type="text/JavaScript"> |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]25 | addEvent(window, 'load', initCorners); |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]27 | function initCorners() { |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(255, 255, 255) !important][size=1em][size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]7 | br: { radius: 10 }, //tl, tr, bl, br分别是:左上角(top-left)、右上角(top-right)、左下角(bottom-left)、右下角(bottom-right) |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]13 | curvyCorners(setting, ".roundedCorners"); |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
2、ie-css3.htc,IE利用VML矢量可标记语言作为画笔汇出圆角
[backcolor=rgb(255, 255, 255) !important][size=1em][size=1em]1 | <title>测试主机Content-Type</title> |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]13 | background-color: blue; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]17 | -webkit-border-radius: 10px; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]19 | -moz-border-radius: 10px; |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]23 | behavior: url(ie-css3.htc); |
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
[backcolor=rgb(248, 248, 248) !important][size=1em]
[size=1em]
这个页面是用以测试主机是否有正确的content-type。 </div> 文件下载: curvycorners.js下载 ie-css3.rar下载
|
|