有没有办法让这个css样式变得简单
border-right:1px solid #8fa6b9;
border-bottom:1px solid #8fa6b9;
border-left:1px solid #2b5a82;
border-top:1px solid #2b5a82;
右边和下面一样......
border-right:1px solid #8fa6b9;
border-bottom:1px solid #8fa6b9;
border-left:1px solid #2b5a82;
border-top:1px solid #2b5a82;
the right is the same as the bottom......
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
试试这个,这个更有意义。
Try this, this one is more meaningful.
设置为顺时针方向。所以第一个数字是向上,第二个数字是右边,第三个数字是底部,第四个数字是左边框。
The settings goes clockwise. So first number is up, second right, third bottom and the fourth number is the left border.
边框:1px实线#8fa6b9;
左边框颜色:#2b5a82;
顶部边框颜色:#2b5a82;
border : 1px solid #8fa6b9;
border-left-color : #2b5a82;
border-top-color : #2b5a82;