css实现带缩略图幻灯片代码

代码语言:html

所属分类:幻灯片

代码描述:css实现带缩略图幻灯片代码,无js代码

代码标签: css 缩略图 幻灯片 代码

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


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

<head>

  <meta charset="UTF-8">


 
  
  <link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Quicksand:wght@700&amp;display=swap'>
  
<style>
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@300&display=swap');

:root {
	--img: url(//repo.bfw.wiki/bfwrepo/image/5e62eef0d452a.png);
}

html {
	background-color: #fff;
}

body {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center center;
	background-image: var(--img, url(//repo.bfw.wiki/bfwrepo/image/5e62eef0d452a.png));
	transition: background 0.5s ease 0s;
	font-family: 'Londrina Solid', cursive;
}

body:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000000c9;
	z-index: 0;
}

.content {
	width: 60vmin;
	height: 60vmin;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center center;
	b.........完整代码请登录后点击上方下载按钮下载查看

网友评论0