今天给大家分享一款基于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. nmon 命令(转)

    转载:https://www.cnblogs.com/kongzhongqijing/articles/4057487.html 一.基本使用 nmon目前可支持AIX和LINUX,可到以下地址去免费 ...

  2. eclipse解决editor does not contain a main type的方法

    转自:http://blog.csdn.net/huazhangena/article/details/7349044 写在前面的话:我的也出现这个问题,但是解决方法和转发的内容不太一样,原理一样,我 ...

  3. CSS如何实现自定义鼠标应用到整个网页

    在CSS区把body改为*即可.但是注意Firefox不支持ani和cur文件,如果您一定想使用ani和cur的指针,可以试着将它改名为.gif文件.实际测试如果改为gif则IE也不支持了.

  4. Android单个进程内存分配策略

    android不同设备单个进程可用内存是不一样的,可以查看/system/build.prop文件. # This is a high density device with more memory, ...

  5. 让Android App启动更协调

          不知道大伙有没有发现,应用第一次启动的时候一般比较慢(低配置手机尤其如此),黑屏好一段时间,下面是我在模拟器中启动QQ的截图,黑屏差不多有5秒左右,如下图所示~      显然这种结果很糟 ...

  6. 深入理解Git (三) - 微命令上篇

    1 git hash-object 曾经讲过Git用Hash值作为Git对象的名字,那么详细是哪个命令呢? 我们能够先改动一个文件: echo "hongchangfirst" & ...

  7. QtGui.QLineEdit

    A QtGui.QLineEdit is a widget that allows to enter and edit a single line of plain text. There are u ...

  8. 请MVC5 WebApi2 支持OData协议查询

    一.配置项 1.WebApiConfig.cs添加如下代码: // api 支持 cors允许Ajax发起跨域的请求(nuget 中搜索 ASP.NET Cross-Origin Support,然后 ...

  9. js经常使用功能代码

    js经常使用功能代码(持续更新): 1---折叠与展开 <input id="btnDisplay" type="button" class=" ...

  10. 教你在Ubuntu系统下保存屏幕亮度设置

     本文保留屏幕亮度方法适合使用笔记本的朋友,大家都知道,过亮的屏幕不但刺眼而且缩短LCD屏幕寿命,不幸的是,Ubuntu默认关机后并不保存当前屏幕亮度配置数据,每次开机都要重新设置亮度,很不方便.本文 ...