收藏
回答

图标?

怎么让五个图标在一行


回答关注问题邀请回答
收藏

5 个回答

  • 呵呵
    呵呵
    2020-08-12

    .navbar{

      

      border-bottom: 1px solid #ccc;

      position: relative;

    }

    .navbar .title{

      position: absolute;

      width: 750rpx;

      text-align: center;

      left: 0;

      bottom: 20rpx;

      font-size: 30rpx;

    }

    .navbar image{

      position: absolute;

      left: 20rpx;

      bottom: 20rpx;

      width: 40rpx;

      height: 40rpx;

      z-index: 100;

    }


    .navbar .bg{

      width: 750rpx;

    }


    .container .text{

      display: flex;

      margin-top:200rpx;

      /* padding-top:280rpx; */

      width: 750rpx;

      position: fixed;

      left: 0;

      bottom: 100rpx;

      z-index: 100;

      /* border-bottom: 1px solid #ccc; */

    }

    .section{

      justify-content: center;

      display: flex;

      /* left: 5rpx; */

      width: 720rpx;

      height: 800rpx;

      border: 2rpx solid #000;

      border-radius: 20rpx;

    }






    2020-08-12
    有用
    回复
  • 夕阳西下?
    夕阳西下?
    2020-08-12

    上代码

    2020-08-12
    有用
    回复
  • 俞哄哄💻📷🤘🚴🎧
    俞哄哄💻📷🤘🚴🎧
    2020-08-12

    width:20%


    2020-08-12
    有用
    回复
  • 污昂ᰔᩚ王࿐
    污昂ᰔᩚ王࿐
    2020-08-12

    设置width 小程序宽度是750rpx 你每个设置 width :150rpx 或者20%

    2020-08-12
    有用
    回复 2
    • 呵呵
      呵呵
      2020-08-12
      我设置120rpx
      2020-08-12
      回复
    • 污昂ᰔᩚ王࿐
      污昂ᰔᩚ王࿐
      2020-08-12回复呵呵
      然后呢   就是上面这样?
      2020-08-12
      回复
  • 陈强
    陈强
    2020-08-12

    父元素添加样式:display:flex;

    2020-08-12
    有用
    回复
登录 后发表内容
问题标签