html列表线,【html】斑马线表格

源于 how2j教程,这是个特别好的java网站。

实现效果如下。

a94855232dd5a926e49b3ed1af7ae485.png

table{

border-collapse:collapse; /*边框合并*/

width:90%;

}

tr.odd{ /*表格的奇数列的样式*/

background-color:#f8f8f8;

}

tr.head{ /*表头的下边框*/

border-bottom-width: 2px;

}

tr{

border-bottom-style: solid; /*底部为实线*/

border-bottom-width: 1px;/*底部宽度为1px*/

border-bottom-color: lightgray; /*底部颜色*/

height:35px;/*高度为35px*/

}

td{

width:25%;

text-align:center; /*文字居中*/

}

id名称血量伤害
1gareen34058
2teemo32076
3annie38038
4deadbrother40090

2286910b550dd1427741468bf2901b37.png

de638df49f1d5a3342eecff86bcb011e.png

振宇振宇

发布了114 篇原创文章 · 获赞 17 · 访问量 8341

私信

关注

标签:35px,斑马线,表格,bottom,color,tr,width,html,border

来源: https://blog.csdn.net/weixin_43734095/article/details/104055520

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值