html5全屏图片文字幻灯片过渡动画特效代码下载



如需定制开发(网站开发、二次开发)在线咨询,请点击>> QQ:753511799

11 43 15



特效描述:全屏图片 文字幻灯片 过渡动画。基于TweenMax.js制作全屏响应式的图片幻灯片,配合文字过速滑过动画切换特效。

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/base.css" />

2. 引入JS

<script src="js/charming.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/demo.js"></script>
<script src="js/charming.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/demo.js"></script>

3. HTML代码

<!DOCTYPE html>
<html lang="en" class="no-js">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<meta name="description" content="A speedy motion transition effect for an image slideshow." />
		<meta name="keywords" content="transition, effect, motion, css, javascript, web development, demo" />
		<script>document.documentElement.className="js";var supportsCssVars=function(){var e,t=document.createElement("style");return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e};supportsCssVars()||alert("Please view this demo in a modern browser that supports CSS Variables.");</script>
	</head>
	<body class="loading demo-1">
		<main>
			<div class="deco deco--bg"></div>
			<div class="deco deco--shape deco--shape-hor deco--shape-1"></div>
			<div class="deco deco--shape deco--shape-hor deco--shape-2"></div>
			<div class="slideshow">
				<div class="slide">
					<div class="slide__image" style="background-image:url(img/1.jpg)"></div>
					<h2 class="slide__title">Masupitami</h2>
				</div>
				<div class="slide">
					<div class="slide__image slide__image--hidden" style="background-image:url(img/2.jpg)"></div>
					<h2 class="slide__title slide__title--hidden">Waldorfian</h2>
				</div>
				<div class="slide">
					<div class="slide__image slide__image--hidden" style="background-image:url(img/3.jpg)"></div>
					<h2 class="slide__title slide__title--hidden">Hindsberg</h2>
				</div>
				<div class="slide">
					<div class="slide__image slide__image--hidden" style="background-image:url(img/4.jpg)"></div>
					<h2 class="slide__title slide__title--hidden">Kitschmas</h2>
				</div>
				<div class="slide">
					<div class="slide__image slide__image--hidden" style="background-image:url(img/5.jpg)"></div>
					<h2 class="slide__title slide__title--hidden">Friendlein</h2>
				</div>
				<nav class="nav">
					<button class="nav__button nav__button--previous">Previous</button>
					<button class="nav__button nav__button--next">Next</button>
				</nav>
			</div>
		</main>
	</body>
</html>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动导航菜单 带标题的焦点图 滑动选项卡切换 带缩略图的幻灯片 带简介的焦点图 图片滑动 图片轮播 文字滑动 自动滚动图片轮播 滑动手风琴 马赛克幻灯片 滑动星星打分 全屏焦点图 滑动滑过 flash焦点图 焦点图幻灯片

×
×
51前端

注册

×
绑定手机

请绑定手机号,在继续操作

×
单次下载支付

应付金额:279

支付完成后,回到下载页面,在进行下载

官方QQ群
意见反馈
qq群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到