html结构

flex实现左中固定不变,右边自适应

 

 css样式

.tab1-main {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    .tab1-tree {
      width: 300px;
      padding: 10px;
    }
    .tab1-line {
      flex-basis: 10px;
      flex-shrink: 0;
      border-left: 1px solid #dcdcdc;
    }
    .tab1-table {
      flex: 1;
      min-width:0;
    }
  }

相关文章:

  • 2022-02-09
  • 2021-09-30
  • 2022-02-09
  • 2022-02-09
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2021-12-18
  • 2022-02-09
  • 2021-09-04
相关资源
相似解决方案