css+js实现简洁的图文幻灯片效果代码

代码语言:html

所属分类:幻灯片

代码描述:css+js实现简洁的图文幻灯片效果代码

代码标签: css js 简洁 图文 幻灯片

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/animate.3.5.1.css">
<style>
    body {
  margin: 0;
  padding: 0;
  background: #d1f3d1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

* {
  font-family: sans-serif;
  color: #fff;
}

/*VIDEO*/
/*...Videos All..*/
.video__1 {
  background: #c2ffc1;
  display: none;
  background-image: url("//repo.bfw.wiki/bfwrepo/image/5e32405c2040e.png");
}

.video__2 {
  background: #ff7575;
  background-image: url("//repo.bfw.wiki/bfwrepo/image/5e32407d9bd1a.png");
}

.video__3 {
  background: #fffea5;
  display: none;
  background-image: url("//repo.bfw.wiki/bfwrepo/image/5e3240c626ad7.png");
}

.video__attribute-noDisplay {
  display: none;
}

.video {
  background: rgba(26, 26, 26, 0.9);
  max-width: 900px;
  margin: auto;
  border-radius: 0px;
}
.video .video__container {
  display: f.........完整代码请登录后点击上方下载按钮下载查看

网友评论0