今天给大家分享一款基于js全屏动画焦点图幻灯片。这款焦点图内的内容以动画形式出现和消失。效果图如下:

在线预览   源码下载

实现的代码。

html代码:

  <div class="slideshow" id="slideshow">
<ol class="slides">
<li class="current">
<div class="description">
<h2>
Tilted Content Slideshow</h2>
<p>
This slider, as seen on the landing page of the <a href="http://www.w2bc.com/">FWA</a>,
plays with 3D perspective and performs some interesting animations on the right-hand
side images.</p>
</div>
<div class="tiltview col">
<a href="http://www.w2bc.com/">
<img src="img/1_screen.jpg" /></a> <a href="https://www.w2bc.com/">
<img src="img/2_screen.jpg" /></a>
</div>
</li>
<li>
<div class="description">
<h2>
CSS Animations</h2>
<p>
We are using 12 different animations for showing and hiding the items of a slide.
The animations are defined by randomly adding data-attributes called <code>data-effect-in</code>
and <code>data-effect-out</code> for every slide.
</p>
</div>
<div class="tiltview row">
<a href="http://www.w2bc.com/">
<img src="img/3_mobile.jpg" /></a> <a href="http://www.w2bc.com/">
<img src="img/4_mobile.jpg" /></a>
</div>
</li>
<li>
<div class="description">
<h2>
Tilted Items</h2>
<p>
The perspective view is achieved by adding a perspective value to the slide list
item and tilting a division that contains the two screenshots.</p>
</div>
<div class="tiltview col">
<a href="http://www.w2bc/">
<img src="img/5_screen.jpg" /></a> <a href="http://www.w2bc.com/">
<img src="img/6_screen.jpg" /></a>
</div>
</li>
<li>
<div class="description">
<h2>
Column or Row</h2>
<p>
The items in the tilted container are either laid out in a column or in a row. For
some directions we need to adjust the animation delays for the items, since we don't
want the items to overlap each other when they move in or out.</p>
</div>
<div class="tiltview row">
<a href="http://www.w2bc/">
<img src="img/1_mobile.jpg" /></a> <a href="https://tsovet.com/">
<img src="img/2_mobile.jpg" /></a>
</div>
</li>
<li>
<div class="description">
<h2>
Responsiveness</h2>
<p>
For smaller screens, the items on the right hand side will become less opaque and
serve as decoration only. The focus will be on the description which will occupy
all the width.</p>
</div>
<div class="tiltview col">
<a href="http://www.w2bc.com/">
<img src="img/3_screen.jpg" /></a> <a href="http://foodsense.is/">
<img src="img/4_screen.jpg" /></a>
</div>
</li>
<li>
<div class="description">
<h2>
Navigation</h2>
<p>
For the "line" navigation we use a little trick to make the clickable area a bit
bigger: we add a thick white border to the top and bottom of the span. Since the
border is part of the element, it will be part of the clickable zone.</p>
</div>
<div class="tiltview row">
<a href="http://www.w2bc.com/">
<img src="img/5_mobile.jpg" /></a> <a href="http://www.herschelsupply.com/">
<img src="img/6_mobile.jpg" /></a>
</div>
</li>
</ol>
</div>

via:http://www.w2bc.com/Article/23685

基于js全屏动画焦点图幻灯片的更多相关文章

  1. 基于jQuery的网站首页宽屏焦点图幻灯片

    今天给大家分享一款基于jQuery的网站首页宽屏焦点图幻灯片.这款焦点图适用浏览器:IE8.360.FireFox.Chrome.Safari.Opera.傲游.搜狗.世界之窗.效果图如下: 在线预览 ...

  2. 基于Ascensor.js全屏切换页面插件

    今天给大家分享一款基于Ascensor.js全屏切换页面插件,这款实例 适用浏览器:IE8.360.FireFox.Chrome.Safari.Opera.傲游.搜狗.世界之窗.效果图如下: 在线预览 ...

  3. 全新jquery多点滑动幻灯片——全屏动画animateSlide

    首页banner的酷炫效果多来自全屏大图的幻灯片动画,下面提供一种完美兼容的jquery动画特效:全新jquery多点滑动幻灯片——全屏动画animateSlide(代码完全原创). 直接上代码,把h ...

  4. JS框架_(JQuery.js)文章全屏动画切换

    百度云盘 传送门 密码:anap 文章全屏动画切换效果 <!doctype html> <html lang="zh"> <head> < ...

  5. jQuery可自动播放动画焦点图插件Koala

    Koala是一款简单而实用的jQuery焦点图幻灯片插件,焦点图不仅可以在播放图片的时候让图片有淡入淡出的动画效果,而且图片可以自动播放.该jQuery焦点图的每一张图片都可以设置文字描述,并浮动在图 ...

  6. 基于HTML5全屏图文左右滑动切换特效

    基于HTML5全屏图文左右滑动切换特效.这是一款基于jQuery+HTML5实现的全屏图文切换特效代码.效果图如下: 在线预览   源码下载 实现的代码. html代码: <main> & ...

  7. 基于jQuery果冻式按钮焦点图切换代码

    基于jQuery果冻式按钮焦点图切换代码.这是一款基于jQuery+CSS3实现的图片切换代码.效果图如下: 在线预览   源码下载 实现的代码. html代码: <div class=&quo ...

  8. JS全屏漂浮广告、移入光标停止移动

    点击这里查看效果 以下是代码: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Ty ...

  9. [HTML]JS全屏代码

    video全屏参考:https://www.thecssninja.com/javascript/fullscreen <!doctype html> <html> <h ...

随机推荐

  1. Windows-设置系统服务不开机启动

    设置为手动,则开机不会自动启动了

  2. js 构造函数(construction)与原型(prototype)

    1.面向对象:js原型 java有class和instance,js仅仅有构造函数(function Cat(name,age){this.name=name;this.age=age}),为了实现数 ...

  3. 已阻止安装程序vs2015

    Burn v3.7.4906.0, Windows v10.0 (Build 15063: Service Pack 0), path: H:\vs_enterprise.exe, cmdline: ...

  4. java使用链栈实现迷宫求解

    java实现链栈在前面有所介绍:http://www.cnblogs.com/lixiaolun/p/4644141.html java实现链栈的代码: package stackapplicatio ...

  5. java记录linux top命令信息

    import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.Fi ...

  6. spring作用域(Spring Bean Scopes Example)

    http://docs.spring.io/spring/docs/2.0.x/reference/beans.html#beans-factory-scopes In Spring, bean sc ...

  7. 使用JNDI连接数据库

    第一步:实现一个Java类: package com.logistic.data; import java.sql.*;import javax.sql.*;import javax.naming.* ...

  8. Java中try catch finally的执行顺序问题

    finally 语句块是在 try 或者 catch 中的 return 语句之前执行的.更加一般的说法是,finally 语句块应该是在控制转移语句之前执行,控制转移语句除了 return 外,还有 ...

  9. node:爬虫爬取网页图片

    代码地址如下:http://www.demodashi.com/demo/13845.html 前言 周末自己在家闲着没事,刷着微信,玩着手机,发现自己的微信头像该换了,就去网上找了一下头像,看着图片 ...

  10. CI:模拟进化与遗传算法

     模拟进化计算 (Simulated  Evolutionary Computation)  是近二十年来信息科学.人工智能与计算机科学的一大研究领域,由此所派生的求解优化问题的仿生类算法(遗传算法. ...