今天给大家分享一款基于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. 【Linux】linux bash shell之变量替换::=句法、=句法、:-句法、-句法、=?句法、?句法、:+句法、+句法

    linux bash shell之变量替换::=句法.=句法.:-句法.-句法.=?句法.?句法.:+句法.+句法   linux bash shell之变量替换::=句法.=句法.:-句法.-句法. ...

  2. Hive配置与操作实践

    Hive配置与操作实践 @(Hadoop) 安装hive hive的安装十分简单,只需要在一台服务器上部署即可. 上传hive安装包,解压缩,将其配入环境变量. mysql的设置 在要作为元数据库的m ...

  3. RHEL7.0 配置网络IP的三种方法

    导读 RHEL7里面的网卡命名方式从eth0,1,2的方式变成了enoXXXXX的格式. en代表的是enthernet (以太网),o 代表的是onboard (内置),那一串数字是主板的某种索引编 ...

  4. Git使用帮助

    1. 本地创建新项目 git init git add . git commit -m "First commit" 2. 本地代码同步Push到远程仓库 git remote a ...

  5. ASP站点无法访问怎么办

    确保启用了目录浏览功能

  6. 检索COM类工厂的组件失败:80040111

    检索 COM 类工厂中 CLSID 为 {--} 的组件失败,原因是出现以下错误: 80040111.如图: 这种问题可能由多种情况造成,目前我遇到两种: 操作系统版本问题 如果是在Win7 64版本 ...

  7. tftp的安装、设置以及put、get传输实验

    tftp安装流程如下: (1)首先挂载Linux系统镜像文件到/media/cdrom/的(cdrom为在/media/下自己创建的目录) (2)进入/media/cdrom/Server/可以找到t ...

  8. 总想自己动动手系列·1·本地和外网(Liunx服务器上部署的web项目)按照自定义的报文格式进行交互(准备篇)

    一.准备工作 (1)有一台属于自己的云服务器,并成功部署和发布一个web项目(当然,本质上来说Java-Project也没问题),通过外网IP可以正常访问该web项目. 需要说明的是:任何web项目, ...

  9. 算法笔记_019:背包问题(Java)

    目录 1 问题描述 2 解决方案 2.1 蛮力法 2.2 减治法 2.2.1 递归求解 2.2.2 非递归求解(运用异或运算) 2.3 动态规划法 1 问题描述 给定n个重量为w1,w2,w3,... ...

  10. 转 SqlServer中如何实现自动备份数据!

    第1种方法: 企业管理器  --管理  --右键数据库维护计划  --新建维护计划  --<下一步>  --选择你要备份的数据库  --<下一步>直到"指定数据库备份 ...