解决css部分border被圆角切掉之后圆角的边框消失问题

Terwer 前端开发评论547字数 67阅读0分13秒阅读模式

问题

症状大概是这个样子:
解决css部分border被圆角切掉之后圆角的边框消失问题文章源自浅海拾贝-https://blog.terwergreen.com/solve-the-disappearance-of-the-frame-of-the-rounded-corner-after-the-css-part-of-the-border-is-cut-off-by-the-rounded-corner-z5jex4.html

解决办法

给当前设置 border​ 和 border-radius​ 属性的元素加:文章源自浅海拾贝-https://blog.terwergreen.com/solve-the-disappearance-of-the-frame-of-the-rounded-corner-after-the-css-part-of-the-border-is-cut-off-by-the-rounded-corner-z5jex4.html

overflow: auto;

文章源自浅海拾贝-https://blog.terwergreen.com/solve-the-disappearance-of-the-frame-of-the-rounded-corner-after-the-css-part-of-the-border-is-cut-off-by-the-rounded-corner-z5jex4.html

相关文章
  • 扫码加我微信
  • 验证消息请输入:来自你的博客
  • weinxin
  • 我的微信公众号
  • 微信扫一扫与我交流吧
  • weinxin
Terwer
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: