JDP 發表於 2009-6-24 19:01:57

CSS 圓角框

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" c>
<title>CSS 圓角框</title>
<style type="text/css">
<!--
div.RoundedCorner {background: #F0F0F0}
b.rtop, b.rbottom {display:block;background: #FFF}
b.rtop b, b.rbottom b {display:block;height: 1px;overflow: hidden;
background: #F0F0F0}
b.r1{margin: 0 5px}
b.r2 {margin: 0 3px}
b.r3 {margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4 {margin: 0 1px;height: 2px}
-->
</style>
</head>

<body>
<div class="RoundedCorner">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b>
<b class="r4"></b></b>

www.jack-ck.com

<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>
</body>
</html>Reference: http://mygaf.jack-ck.com/thread-81708-1-1.html

JDP 發表於 2009-6-24 19:06:37

無懈可擊的CSS圓角技術
http://hi.baidu.com/_linzi_/blog/item/f87047fc8085e181b901a089.html
圓角代碼純CSS
http://hi.baidu.com/prosurfer/blog/item/816d46c2b71c8e3ce5dd3ba0.html
頁: [1]
查看完整版本: CSS 圓角框