永发信息网

css3实现两个div中间内凹圆角

答案:3  悬赏:40  手机版
解决时间 2021-11-28 22:41
  • 提问者网友:你给我的爱
  • 2021-11-28 02:49
css3实现两个div中间内凹圆角
最佳答案
  • 五星知识达人网友:风格不统一
  • 2021-11-28 03:13
html标签如下

    1        

    2        

    3

css标签如下
uls{list-style-type: none;*zoom: -1;}
uls:after{content: "";clear: both;display: block;}
uls li{display: block;float: left;width: 120px;height: 35px;background-color: #4169E1;text-align: center;line-height: 35px;color: white;border-top-left-radius : 15px;    border-top-right-radius : 15px;    }

li-boradiu{display: inline-block;width: 35px;height: 35px;background-image: radial-gradient(70px at 17.5px 0, #f00);}

全部回答
  • 1楼网友:行雁书
  • 2021-11-28 04:14
利用:before 或者:after 可以实现 中间内凹圆角
  • 2楼网友:怀裏藏嬌
  • 2021-11-28 03:41
有效果图的吗
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯