码迷,mamicode.com
首页 > Web开发 > 详细

不错的CSS3图文列表 还有鼠标悬停图片抖动

时间:2015-05-22 15:17:26      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:不错的css3图文列表 还有鼠标悬停图片

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS3新浪微博模板商店列表图片抖动特效</title>
<style>
body, button, input, select, textarea{font: 12px/1.125 Arial, Helvetica, sans-serif;_font-family: "SimSun";}
body, h1, h2, h3, h4, h5, h6, dl, dt, dd, ul, ol, li, th, td, p, blockquote, pre, form, fieldset, legend, input, button, 


textarea, hr{margin: 0;padding: 0;}
body{background:#f4f4f4;}
table{border-collapse: collapse;border-spacing: 0;}
li{list-style: none;}
fieldset, img{border: 0;}
q:before, q:after{content: ‘‘;}
a:focus, input, textarea{outline-style: none;}
input[type="text"], input[type="password"], textarea{outline-style: none;-webkit-appearance: none;}
textarea{resize: none;}
address, caption, cite, code, dfn, em, i, th, var, b{font-style: normal;font-weight: normal;}
abbr, acronym{border: 0;font-variant: normal;}
a{text-decoration: none;}
a:hover{text-decoration: underline;}
a{color: #0a8cd2;text-decoration: none;}
a:hover{text-decoration: underline;}
.clearfix:after{content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix{display:inline-block;}
.clearfix{display: block;}
.clear{clear: both;height: 0;font: 0/0 Arial;visibility: hidden;}
.left{float:left;}
.right{float:right;}
.buybtn{border-width: 1px;border-style: solid;border-color: #FF9B01;background-color: #FFA00A;color: white;border-radius: 


2px;display: inline-block;overflow: hidden;vertical-align: middle;cursor: pointer;}
.buybtn:hover{text-decoration: none;background: #FFB847;background: -webkit-gradient(linear,left top,left bottom,color-stop


(0%,rgba(255, 184, 71, 1)),color-stop(100%,rgba(255, 162, 16, 1)));}
.buybtn span{border-color: #FFB33B;padding: 0 9px 0 10px;white-space: nowrap;display: inline-block;border-style: solid;border


-width: 1px;border-radius: 2px;height: 18px;line-height: 17px;vertical-align: middle;}
.zzsc-list{width:700px;margin:100px auto;}
.zzsc-list .dressing{float:left;_display:inline;margin:8px;margin-top:15px;}
.zzsc-list .dressing_wrap, .zzsc-list .dressing_wrapB{position: relative;_zoom: 1;border-radius: 2px;background: 


#F1F1F1;border-style: solid;border-width: 1px;}
.zzsc-list .skinimg{z-index: 2;border-style: solid;border-width: 2px;border-color: #fff;}
.zzsc-list .skinimg a{display: block;overflow: hidden;}
.zzsc-list .skinimg img{display: inline-block;}
.zzsc-list .skinimg .loading{border-radius: 0;width: 31px;height: 31px;padding-left: 97px;padding-top: 59px;}
.zzsc-list .dressing_wrap{border-color: #d8d8d8;-webkit-box-shadow: 0 3px 6px -4px rgba(0,0,0,1);box-shadow: 0 3px 6px -4px 


rgba(0,0,0,1);background: #FFF;border: 1px solid #c4c4c4;border-radius: 2px;-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.21);box


-shadow: 0 0 5px 0 rgba(0,0,0,.21);}
.zzsc-list .information_area{margin-bottom: 11px;}
.zzsc-list .information_area_wrap{margin: auto;position: relative;}
.zzsc-list .item, .zzsc-list .tipinfo{padding: 3px 10px 0 10px;}
.zzsc-list .information_area h4, .zzsc-list .W_vline, .zzsc-list .price{margin-top: 6px;}
.zzsc-list .information_area h4 a{cursor: default;}
.zzsc-list .price{color: #333;}
.zzsc-list .price a:hover{text-decoration: underline;}
.zzsc-list .op a{color: #0989d1;}
.zzsc-list .W_vline{color: #999;margin-right: 8px;margin-left: 10px;}
.zzsc-list .t_open{margin-top: 5px;}
.zzsc-list .price{color:#f80;font:normal 12px/normal ‘microsoft yahei‘;}
.zzsc-list .skinimg img:hover{-webkit-animation: tada 1s .2s ease both;-moz-animation: tada 1s .2s ease both;}
@-webkit-keyframes tada{0%{-webkit-transform:scale(1);}
10%, 20%{-webkit-transform:scale(0.9) rotate(-3deg);}
30%, 50%, 70%, 90%{-webkit-transform:scale(1.1) rotate(3deg);}
40%, 60%, 80%{-webkit-transform:scale(1.1) rotate(-3deg);}
100%{-webkit-transform:scale(1) rotate(0);}}
@-moz-keyframes tada{0%{-moz-transform:scale(1);}
10%, 20%{-moz-transform:scale(0.9) rotate(-3deg);}
30%, 50%, 70%, 90%{-moz-transform:scale(1.1) rotate(3deg);}
40%, 60%, 80%{-moz-transform:scale(1.1) rotate(-3deg);}
100%{-moz-transform:scale(1) rotate(0);}}
.zzsc-list .dressing_hover .information_area{-webkit-animation: flipInY 300ms .1s ease both;-moz-animation: flipInY 300ms .1s 


ease both;}
@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);
opacity:0;}
40%{-webkit-transform:perspective(400px) rotateY(-10deg);}
70%{-webkit-transform:perspective(400px) rotateY(10deg);}
100%{-webkit-transform:perspective(400px) rotateY(0deg);
opacity:1;}}
@-moz-keyframes flipInY{0%{-moz-transform:perspective(400px) rotateY(90deg);
opacity:0;}
40%{-moz-transform:perspective(400px) rotateY(-10deg);}
70%{-moz-transform:perspective(400px) rotateY(10deg);}
100%{-moz-transform:perspective(400px) rotateY(0deg);
opacity:1;}}
</style>
</head>
<body>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
<div class="zzsc-list">
    <div class="dressing">    
      <div class="dressing_wrap">
        <div class="skinimg"><a href="/" target="_blank"><img src="1.png" alt="私家飞碟"></a></div>
        <div class="information_area">
          <div class="information_area_wrap">
            <div class="item clearfix">
              <h4 class="left">私家飞碟</h4>
              <i class="W_vline left">|</i>
              <div class="price left"><span> ¥18.00 </span></div>
            </div>
            <div class="tipinfo clearfix">
              <div class="t_open left"><a href="/" target="_blank"><span>开通会员</span></a>&nbsp;&nbsp;<span class="W_textb">


免费使用</span></div>
              <div class="right"><a href="/" class="buybtn"><span>购买</span></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="dressing">    
      <div class="dressing_wrap">
        <div class="skinimg"><a href="/" target="_blank"><img src="2.png" alt="远古生物"></a></div>
        <div class="information_area">
          <div class="information_area_wrap">
            <div class="item clearfix">
              <h4 class="left">远古生物</h4>
              <i class="W_vline left">|</i>
              <div class="price left"><span> ¥18.00 </span></div>
            </div>
            <div class="tipinfo clearfix">
              <div class="t_open left"><a href="/" target="_blank"><span>开通会员</span></a>&nbsp;&nbsp;<span class="W_textb">


免费使用</span></div>
              <div class="right"><a href="/" class="buybtn"><span>购买</span></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="dressing">    
      <div class="dressing_wrap">
        <div class="skinimg"><a href="/" target="_blank"><img src="3.png" alt="天地撞击"></a></div>
        <div class="information_area">
          <div class="information_area_wrap">
            <div class="item clearfix">
              <h4 class="left">天地撞击</h4>
              <i class="W_vline left">|</i>
              <div class="price left"><span> ¥18.00 </span></div>
            </div>
            <div class="tipinfo clearfix">
              <div class="t_open left"><a href="/" target="_blank"><span>开通会员</span></a>&nbsp;&nbsp;<span class="W_textb">


免费使用</span></div>
              <div class="right"><a href="/" class="buybtn"><span>购买</span></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>    
     <div style="clear:both"></div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px ‘MicroSoft YaHei‘;">
</div>
</body>
</html>

不错的CSS3图文列表 还有鼠标悬停图片抖动

标签:不错的css3图文列表 还有鼠标悬停图片

原文地址:http://blog.csdn.net/life66881/article/details/45916685

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!