<style type="text/css">
.b1,.b2,.b3,.b4,.b1b,.b2b,.b3b,.b4b,.b{display:block;overflow:hidden;}
.b1,.b2,.b3,.b1b,.b2b,.b3b{height:1px;}
.b2,.b3,.b4,.b2b,.b3b,.b4b,.b{border-left:1px solid #999;border-right:1px solid #999;}
.b1,.b1b{margin:0 5px;background:#999;}
.b2,.b2b{margin:0 3px;border-width:2px;}
.b3,.b3b{margin:0 2px;}
.b4,.b4b{height:2px;margin:0 1px;}
.d1{background:#F7F8F9;}
.k {height:150px;}
</style>
<div><strong class="b1"></strong><strong class="b2 d1"></strong><strong class="b3 d1"></strong><strong class="b4 d1"></strong>
<div class="b d1 k"><font style="font-size: 26px; margin: 0px 10px; color: red">简洁型css圆角矩形</font> </div>
<strong class="b4b d1"></strong><strong class="b3b d1"></strong><strong class="b2b d1"></strong><strong class="b1b"></strong></div>简洁型css圆角矩形
最新推荐文章于 2026-01-05 20:42:35 发布
本文介绍了一种使用纯CSS实现圆角矩形的方法,并通过不同样式的组合达到美观的效果。该方法简单实用,适用于网页设计中需要圆角效果的场景。
82

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



