elementUI carousel style

insert image description here

<div class="pictures">
              <!-- 示范工程轮播图 -->
              <el-carousel indicator-position="none" arrow="always" height="810px">
                <el-carousel-item  v-for="item in sfgcpicLists" :key="item.id" :name="item.picName">
                  <img :src="item.fullSrc" >
                  <h3 style="text-align:center">{
   
   {item.picName}}</h3>
                </el-carousel-item>
              </el-carousel>
            </div>

css style

  //走马灯宽度
  .el-carousel{
    width: 1340px;
    img{
      width: 1050px;
       height: 710px;
      margin-left: 110px;
      border:1px solid #827251;
    }
    h3{
      font-size: 25px;
      font-weight: 700;
      margin-top: 40px;
    }
   ::v-deep .el-carousel__container{
          margin-left: 60px;
    }
   ::v-deep .el-carousel__arrow{
      width: 75px;
      height: 75px;
      background: #e1c8a8;
    }
   ::v-deep .el-icon-arrow-left:before,
   ::v-deep .el-icon-arrow-right:before {
      color: #232019;
      font-size: 45px;
      font-weight: 700;
    }
  }

Guess you like

Origin blog.csdn.net/qq_40576178/article/details/123505750