gpt4 book ai didi

css - 单个 div 的 3 个边框底部?

转载 作者:行者123 更新时间:2023-11-28 12:35:52 25 4
gpt4 key购买 nike

有没有办法为单个 div 创建 3 个 border-bottom

这是它需要的样子:

enter image description here

最佳答案

试试这个 http://codepen.io/anon/pen/ogzoQQ

<div id="box"></div>  

#box{
width:100px;
height:100px;
background:blue;
box-shadow: 0px 3px green,0px 6px orange,0px 9px yellow;
border-radius:5px;
}

关于css - 单个 div 的 3 个边框底部?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27655300/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com