logo
  • 教程列表
  • SO官方文档
  • 边界
    • 边界半径
    • 边框样式
    • 多边框
    • 边界(短线)
    • 边框,图像
    • 边界崩溃
    • 使用 border-image 创建多色边框
    • 边界 leftrighttopbottom
  1. StackOverflow 文档
  2. CSS 教程
  3. 边界
  4. 边界 leftrighttopbottom

边界 leftrighttopbottom

Created: November-22, 2018

border-[left|right|top|bottom] 属性用于向元素的特定边添加边框。

例如,如果要在元素的左侧添加边框,则可以执行以下操作:

#element {
    border-left: 1px solid black;
}
  • 使用 border-image 创建多色边框

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明