flex align-content 布局问题

 .item{
    border: 1px solid #6094e3;
    position: relative;
    display: flex;
    align-content: space-between;
    flex-direction: column;
    p{
      padding: 15px 10px 0 10px;
      line-height: 1.8;
    }
    .label{
      width: 100%;
      font-size: 26px;
      color: #6094e3;
      background-image: -webkit-linear-gradient( left, rgba(133, 174, 237, 1) 50%, rgba(87, 142, 224, 1));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

clipboard.png

clipboard.png

但是并没有两端对齐

阅读 2k
1 个回答

应该是justify-content:space-between

推荐问题