css实现图片自动渐变切换、element-plus 的修改el-table的(边框线为虚线、表头样式)

首先 放几张图片

<div id="slideshow">
      <img src="@/assets/banner-one.png" alt="Slideshow Image 1" class="image1 active" />
      <img src="@/assets/banner-two.jpg" alt="Slideshow Image 2" class="image2" />
      <img src="@/assets/banner-three.jpg" alt="Slideshow Image 3" class="image3" />
 </div>
#slideshow {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: relative;
  top: 0;
  left: 0;
}
.image1,
.image2,
.image3 {
  width: 100%;
  height: 100%;
  position: fixed;
}
.image1 {
  /* opacity: 1; */
  animation: image1 15s linear 0s infinite normal both running;
}
@keyframes image1 {
  0% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.image2 {
  /* opacity: 1; */
  animation: image2 15s linear 0s infinite normal both running;
}
@keyframes image2 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.image3 {
  /* opacity: 1; */
  animation: image3 15s linear 0s infinite normal both running;
}
@keyframes image3 {
  0% {
    opacity: 1;
  }
  5% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

修改el-table的(边框线为虚线、表头样式)

<el-table
        :data="tableData"
        style="width: 100%"
        :header-cell-style="{background:'#f4f7fc',color:'#555555',borderColor:'#e8e8e8'}"
        :cell-style="{borderBottom:'1px dashed #e8e8e8'}"
        class="briefChapter"
      >
 </el-table>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值