12种炫酷的CSS3鼠标滑过图片遮罩层动画特效_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:34:25
Original
992 people have browsed it

InContent是一款效果非常炫酷的CSS3鼠标滑过图片遮罩层动画特效。这组特效共有12种不同的鼠标滑过图片效果,分为滑动、旋转和翻转3大类。它可以在支持CSS3 transition和transform属性的现代浏览器中正常工作。

在线预览    源码下载

 使用方法

使用该CSS3鼠标滑过图片遮罩层动画特效需要在页面中引入由SASS编译的sass-compiled.css文件或由LESS编译的less-compiled.css文件。

<link rel="stylesheet" href="css/sass-compiled.css" type="text/css" />或者:<link rel="stylesheet" href="css/less-compiled.css" type="text/css" />        
Copy after login

HTML结构

该CSS3鼠标滑过图片遮罩层动画特效的基本HTML结构如下:

<div class="pic">    <img src="img/01.jpg" class="pic-image" alt="Pic"/>    <span class="pic-caption bottom-to-top">        <h1 class="pic-title">Pic Title</h1>        <p>图片描述文本</p>    </span></div>        
Copy after login

.bottom-to-top是遮罩层的动画效果类。

 可用的动画效果

该CSS3鼠标滑过图片遮罩层动画特效有以下12种可用的CSS3动画效果。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template