直播软件源码,如何实现单行居中,多行顶部对齐?

直播软件源码,如何实现单行居中,多行顶部对齐?

代码分析:

.table-item {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 16upx;
    text-align: justify;
    font-weight: 600;
    span {
      width: 125upx;
      height: 65upx;
      overflow: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      display: -webkit-box;
      -webkit-box-orient: vertical;
    }
  }

 

以上就是直播软件源码,如何实现单行居中,多行顶部对齐?, 更多内容欢迎关注之后的文章

 

posted @ 2024-07-27 08:42  云豹科技-苏凌霄  阅读(2)  评论(0编辑  收藏  举报