轻松制作CSS圆角

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
div{ background:green;}
.top,.bottom{ display:block; background:white;}
b{ display:block; height:1px; background:green; overflow:hidden;}
.one{ margin:0 5px;}
.two{ margin:0 3px;}
.three{ margin:0 2px;}
.four{ margin:0 1px; }

</style>
</head>

<body>
<div>
 <div class="top">
     <b class="one"></b>
        <b class="two"></b>
        <b class="three"></b>
        <b class="four"></b>
    </div>
 这里是一些文字
 <div class="bottom">
     <b class="four"></b>
        <b class="three"></b>
        <b class="two"></b>
        <b class="one"></b>
    </div>
</div>
</body>
</html>
 




[本日志由 woniu 于 2010-06-02 02:21 PM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: css圆角
相关日志:
评论: 0 | 引用: 0 | 查看次数: -
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.