Home >Web Front-end >HTML Tutorial >基于CSS3给图片添加旋转背景特效_html/css_WEB-ITnose

基于CSS3给图片添加旋转背景特效_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:29:431257browse

分享一款CSS3给图片添加旋转背景特效。这是一款纯CSS3实现的当鼠标滑过图片时文字旋转动画特效。效果图如下:

在线预览    源码下载

实现的代码。

html代码:

<div class="main">      <div class="view">          <img src="images/modeo02.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>      <div class="view">          <img src="images/modeo03.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>      <div class="view">          <img src="images/modeo04.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>      <div class="view">          <img src="images/modeo05.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>      <div class="view">          <img src="images/modeo06.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>      <div class="view">          <img src="images/modeo07.jpg" alt="">          <div class="hover">              <h3>魔力唇彩</h3>              <p>嘴唇的诱惑嘴唇的诱唇的诱惑嘴唇的诱惑</p>          </div>      </div>  </div>

via:http://www.w2bc.com/article/85698

Statement:
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