首页 >综合
css 边框添加四个角效果
发布日期:2025-11-05 21:46:46
浏览次数:505

1、框添html

  此处内容已隐藏,加个角效请评论后刷新页面查看.

2、框添CSS

.loginbody{ border: 1px solid #21a7e1; box-shadow: 5px 5px 10px 10px rgba(24,加个角效68,124,0.4); padding-top:20px; border-radius: 6px; position: relative; } /*四个角框*/ .border_corner{ z-index: 2500; position: absolute; width: 19px; height: 19px; background: rgba(0,0,0,0); border: 4px solid #1fa5f1; } .border_corner_left_top{ top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 6px; } .border_corner_right_top{ top: -2px; right: -2px; border-left: none; border-bottom: none; border-top-right-radius: 6px; } .border_corner_left_bottom{ bottom: -2px; left: -2px; border-right: none; border-top: none; border-bottom-left-radius: 6px; } .border_corner_right_bottom{ bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 6px; } .loginbody{ border: 1px solid #21a7e1; box-shadow: 5px 5px 10px 10px rgba(24,68,124,0.4); padding-top:20px; border-radius: 6px; position: relative; } /*四个角框*/ .border_corner{ z-index: 2500; position: absolute; width: 19px; height: 19px; background: rgba(0,0,0,0); border: 4px solid #1fa5f1; } .border_corner_left_top{ top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 6px; } .border_corner_right_top{ top: -2px; right: -2px; border-left: none; border-bottom: none; border-top-right-radius: 6px; } .border_corner_left_bottom{ bottom: -2px; left: -2px; border-right: none; border-top: none; border-bottom-left-radius: 6px; } .border_corner_right_bottom{ bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 6px; } .loginbody{ border: 1px solid #21a7e1; box-shadow: 5px 5px 10px 10px rgba(24,68,124,0.4); padding-top:20px; border-radius: 6px; position: relative; } /*四个角框*/ .border_corner{ z-index: 2500; position: absolute; width: 19px; height: 19px; background: rgba(0,0,0,0); border: 4px solid #1fa5f1; } .border_corner_left_top{ top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 6px; } .border_corner_right_top{ top: -2px; right: -2px; border-left: none; border-bottom: none; border-top-right-radius: 6px; } .border_corner_left_bottom{ bottom: -2px; left: -2px; border-right: none; border-top: none; border-bottom-left-radius: 6px; } .border_corner_right_bottom{ bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 6px; } 内容看完了 © 版权声明 1:本网站名称  :蜡笔傻新

2:本站永久网址  :https://labishaxin.com/

3:本站部分内容收集于互联网 ,如果有侵权内容、框添请联系我们删除,加个角效不妥之处 ,框添敬请谅解

4:本站一切资源不代表本站立场,加个角效并不代表本站赞同其观点和对其真实性负责

5:本站一律禁止以任何方式发布或转载任何违法的框添相关信息  ,访客发现请向站长举报

6:本站资源大多存储在云盘 ,加个角效如发现链接失效,框添请联系我们我们会第一时间更新

加个角效
上一篇:抖音无限刷礼物自卫模拟器(所有礼物都可以刷,包括神豪礼物)
下一篇:wordpress网站添加侧边彩色滚动条
相关文章