css实现一个无js的幻灯片效果代码

代码语言:html

所属分类:幻灯片

代码描述:css实现一个无js的幻灯片效果代码

代码标签: js 幻灯片 效果

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


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

<head>

  <meta charset="UTF-8">

<link href="https://fonts.googleapis.com/css2?family=DotGothic16&family=Josefin+Sans:wght@300&display=swap" rel="stylesheet">

  <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css'>
  
<style>
.carousel {
  margin: auto;
  width: 50rem;
  max-width: calc(100% - 6rem);
  position: relative;
  border: 2px solid #E6E8E6;
  position: relative;
  z-index: 1;
}
.carousel-num {
  position: absolute;
  font-size: 10px;
  color: #191919;
  text-shadow: 1px 1px #F15025;
  width: 100%;
  bottom: 4px;
  left: 0;
  line-height: 2rem;
  display: fle.........完整代码请登录后点击上方下载按钮下载查看

网友评论0