js+css实现立体科幻展厅文字滚动动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:js+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=Paytone+One&amp;display=swap'>
  
<style>
@import url(https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap);
.card,
.content,
body {
	overflow: hidden;
}
body {
	width: 100vw;
	height: 100vh;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: black;
}
.card,
.container {
	display: flex;
	align-items: center;
}
.card {
	width: 1280px;
	height: 720px;
	margin: 0;
	justify-content: center;
}
.container-full,
.content {
	width: 1000px;
	height: 562px;
}
.backgroundImage {
	position: absolute;
	width: 1000px;
}
.boyImage {
	position: absolute;
	width: 500px;
	z-index: 2;
	animation: 200s linear infinite blur;
}
.content {
	border-radius: 40px;
	animation: 200s linear infinite brightness;
}
.container {
	justify-content: center;
}
.container-full,
.face {
	display: flex;
	align-items: center;
	overflow: hidden;
}
.container-full {
	margin: 0;
	justify-content: center;
	transform: scale(1);
	animation: 200s linear infinite zoom-in;
}
.cube,
.face {
	width: 870px;
	height: 190px;
}
.cube {
	position: relative;
	transform-style: preserve-3d;
	perspective: 480px;
	transform-style: preserve-3d;
	perspective-origin: 51% 70%;
}
.face,
.hue {
	position: absolut.........完整代码请登录后点击上方下载按钮下载查看

网友评论0