大马资讯论坛 - 马来西亚中文资讯平台
标题:
纯html和css实现圆角表格(教学) spiffy corner table
[打印本页]
作者:
资讯王
时间:
2010-3-17 11:22
标题:
纯html和css实现圆角表格(教学) spiffy corner table
纯html和css实现圆角表格(教学) spiffy corner table
Website / 网业
http://www.spiffycorners.com/
Example / 范例
http://www.spiffycorners.com/ind ... g=b20000&sz=5px
CSS Code / 代码
<style type="text/css">
.spiffy{display:block}
.spiffy *{
display:block;
height:1px;
overflow:hidden;
font-size:.01em;
background:#b20000}
.spiffy1{
margin-left:3px;
margin-right:3px;
padding-left:1px;
padding-right:1px;
border-left:1px solid #dd9191;
border-right:1px solid #dd9191;
background:#c53f3f}
.spiffy2{
margin-left:1px;
margin-right:1px;
padding-right:1px;
padding-left:1px;
border-left:1px solid #f7e5e5;
border-right:1px solid #f7e5e5;
background:#c03030}
.spiffy3{
margin-left:1px;
margin-right:1px;
border-left:1px solid #c03030;
border-right:1px solid #c03030;}
.spiffy4{
border-left:1px solid #dd9191;
border-right:1px solid #dd9191}
.spiffy5{
border-left:1px solid #c53f3f;
border-right:1px solid #c53f3f}
.spiffyfg{
background:#b20000}
</style>
复制代码
HTML Code / 代码
<div>
<b class="spiffy">
<b class="spiffy1"><b></b></b>
<b class="spiffy2"><b></b></b>
<b class="spiffy3"></b>
<b class="spiffy4"></b>
<b class="spiffy5"></b></b>
<div class="spiffyfg">
<!-- content goes here 内容贴这里 -->
</div>
<b class="spiffy">
<b class="spiffy5"></b>
<b class="spiffy4"></b>
<b class="spiffy3"></b>
<b class="spiffy2"><b></b></b>
<b class="spiffy1"><b></b></b></b>
</div>
复制代码
欢迎光临 大马资讯论坛 - 马来西亚中文资讯平台 (http://freeinfo.com.my/)
Powered by Discuz! X3.3