// 实现对角线
background: linear-gradient(to top right, transparent 0 calc(50% - 1px), #999 50%, transparent calc(50% + 1px) 100%);
css实现盒子对角线
最新推荐文章于 2025-06-25 11:44:23 发布
// 实现对角线
background: linear-gradient(to top right, transparent 0 calc(50% - 1px), #999 50%, transparent calc(50% + 1px) 100%);
419
1340
376
1020

被折叠的 条评论
为什么被折叠?