zoukankan      html  css  js  c++  java
  • 利用CSS3给图片添加旋转背景特效

    首先看旋转特效:http://www.w2bc.com/demo/201512/2015-12-09-css3-image-hover-animate/index.html

    这是一款纯CSS3实现的当鼠标滑过图片时文字旋转动画特效,效果图如下:

    实现代码:

    <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>
  • 相关阅读:
    JavaScript 总结
    Linux脚本shell字符串处理
    linux bash tutorial
    SVG 学习<八> SVG的路径——path(2)贝塞尔曲线命令、光滑贝塞尔曲线命令
    SVG 学习<七> SVG的路径——path(1)直线命令、弧线命令
    SVG 学习<六> SVG的transform
    SVG 学习<五> SVG动画
    SVG 学习<四> 基础API
    SVG 学习<三>渐变
    SVG 学习<二>进阶 SVG世界,视野,视窗 stroke属性 svg分组
  • 原文地址:https://www.cnblogs.com/luoyeguichen/p/5032104.html
Copyright © 2011-2022 走看看