简单的10种css效果

更新时间:2023-07-28 05:24:12 阅读: 评论:0

<div class="he_3DFlipY">
<div class="he_3DFlipY_inner">
<div class="he_3DFlipY_img"> ![](img/4F.png) </div>
<div class="he_3DFlipY_caption">
<h3>PHP+MySql</h3>
<p>简单的10种css效果</p>
</div>
<a href="#"></a> </div>
</div>
</div>
<div class="box">
<div class="he_ZoomInImg"> ![](img/5F.png)
<div class="he_ZoomInImg_caption">
<h3 class="he_ZoomInImg_caption_h">HTML5+CSS3</h3>
<p class="he_ZoomInImg_caption_p">简单的10种css效果</p>
<a class="he_ZoomInImg_caption_a" href="#"></a> </div>
</div>
</div>
<div class="box">
<div class="he_ZoomOutImg"> ![](img/6F.png)
<div class="he_ZoomOutImg_caption">
担子
<h3 class="he_ZoomOutImg_caption_h">PhotoShop CC</h3>
<p class="he_ZoomOutImg_caption_p">简单的10种css效果</p>
<a class="he_ZoomOutImg_caption_a" href="#"></a> </div>
</div>
</div>
<div class="box">
<div class="he_slideCaptionDown"> ![](img/7F.png)
<div class="he_slideCaptionDown_caption">
<h3 class="he_slideCaptionDown_caption_h">Game Over</h3>
<p class="he_slideCaptionDown_caption_p">简单的10种css效果</p>
<a class="he_slideCaptionDown_caption_a" href="#"></a> </div>
</div>
二次元白丝
</div>
<div class="box">
<div class="he_slideAllDown"> ![](img/8F.png)
<div class="he_slideAllDown_caption">三明治的材料
<h3 class="he_slideAllDown_caption_h">The Word</h3>
测骨密度<p class="he_slideAllDown_caption_p">简单的10种css效果</p>
<a class="he_slideAllDown_caption_a" href="#"></a> </div>
岩浆怪</div>
</div>
<div class="clear"></div>
</div>
</body>
<style>
.demo { margin: 60px auto 10px auto;width: 800px; }
.box { float: left; width: 380px; height: 260px }
img{height:260px;}
.clear { clear: both }
/*top*/
.fj56{width:800px; margin: 100px auto 0;}
.fj56 ul{ height: auto;}
.fj56 ul li{float:left;width: 200px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;position: relative; height: 200px; color: #FFFFFF; text-align: center; line-height:        .fj56 ul li:hover{ -webkit-transform: scale(1.3, 1.3); -moz-transform: scale(1.3, 1.3); -o-transform: scale(1.3, 1.3); -ms-transfor
m: scale(1.3, 1.3); transform: scale(1.3, 1.3); ba        /*公共的 ===4条边框放⼤镜*/
天天泡脚的好处和坏处.he_border1{background:#000;width:360px;height:240px;border:1px solid #000;position:relative;box-sizing:border-box;-webkit-transition:all .4s ea-in-out;-moz-transiti        .he_border1 .he_border1_img{display:block; position:relative;width:100%;height:240px;-webkit-transition:all .4s ea-in-out;-moz-transition:all .4s ea-in-out;-o-transitio        .he_border1:hover .he_border1_img{position:absolute;-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:        .he_border1 .he_border1_caption{color:#FFFFFF;-moz-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .4s ea        .he_border1 .he_border1_caption::before,
.he_border1 .he_border1_caption::after{position:absolute;content:'';opacity:0;-webkit-transition:opacity 0.4s,-webkit-transform .4s;-moz-transition:opacity 0.4s,-moz-transf        .he_border1 .he_border1_caption::before{top:8%;right:10%;bottom:8%;left:10%;border-top:1px solid #fff;border-bottom:1px solid #fff;-webkit-transform:scale(0,1);-moz-tra        .he_border1 .he_border1_caption::after{top:8%;right:10%;bottom:8%;left:10%;border-right:1px solid #fff;border-left:1px solid #fff;-webkit-transform:scale(1,0);-moz-transfo        .he_border1:hover .he_border1_capti
on::before,.he_border1:hover .he_border1_caption::after{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform        .he_border1 .he_border1_caption,.he_border1 .he_border1_caption > a{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transition:all .4s ea-in-out;-moz        .he_border1 .he_border1_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:20%;left:10%;-webkit-transition:all .5s ea-in-out        .he_border1 .he_border1_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:60%;left:10%;-webkit-transition:all .4s ea-in-out;-moz-transition:al        .he_border1:hover .he_border1_caption_p{top:45%;opacity:1}
东欧剧变时间
/*四条边框交叉*/
/*四条边框交叉*/
.he_border2{background:#000;width:360px;height:240px;padding:0;margin:0;border:1px solid #000;position:relative;box-sizing:border-box;-webkit-transition:all .4s ea        .he_border2 .he_border2_img{display:block;width:100%;height: 100%; padding:0;margin:0;position:relative;opacity:1;-webkit-transition:all .4s ea-in-out;-moz-transition        .he_border2:hover .he_border2_img{position:absolute;-webkit-transform:scale(1.1);-moz-transform:
scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:        .he_border2 .he_border2_caption{color:#fff;padding:0;margin:0;-moz-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-trans        .he_border2 .he_border2_caption::before,.he_border2 .he_border2_caption::after{position:absolute;content:'';opacity:0;-webkit-transition:opacity 0.4s,-webkit-transform .        .he_border2 .he_border2_caption::before{top:14%;right:5%;bottom:14%;left:5%;border-top:1px solid #fff;border-bottom:1px solid #fff;-webkit-transform:scale(0,1);-moz-tra        .he_border2 .he_border2_caption::after{top:8%;right:10%;bottom:8%;left:10%;border-right:1px solid #fff;border-left:1px solid #fff;-webkit-transform:scale(1,0);-moz-transfo        .he_border2:hover .he_border2_caption::before,.he_border2:hover .he_border2_caption::after{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform        .he_border2 .he_border2_caption,.he_border2 .he_border2_caption > a{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transition:all .4s ea-in-out;-moz        .he_border2 .he_border2_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:20%;left:10%;-webkit-transition:all .5s ea-in-out        .he_border2 .he_border2_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:
60%;left:10%;-webkit-transition:all .4s ea-in-out;-moz-transition:al        .he_border2:hover .he_border2_caption_p{top:45%;opacity:1}
/*X轴翻转*/
.he_3DFlipX{display:block;width:360px;height:240px;overflow:hidden;padding:0;margin:0;border:0;position:relative;box-sizing:border-box;-webkit-perspective:1700px;-m        .he_3DFlipX_inner{width:100%;height:100%;padding:0;margin:0;position:relative;-webkit-transform-style:prerve-3d;-moz-transform-style:prerve-3d;transform-style:p        .he_3DFlipX_inner div.he_3DFlipX_img{backface-visibility:hidden;-webkit-transition:all .5s ea-in-out;-moz-transition:all .5s ea-in-out;transition:all .5s ea-in-out}
带风的四字成语.he_3DFlipX_inner:hover > div.he_3DFlipX_img{-webkit-transform:rotateX(180deg);-moz-transform:rotateX(180deg);transform:rotateX(180deg)}
.he_3DFlipX_inner > div img{max-width:100%;padding:0;margin:0;display:block;position:relative}
.he_3DFlipX_caption{position:absolute;top:0;left:0;padding:0;background:#000;color:#fff;height:100%;width:100%;padding:0;margin:0;opacity:0;background-color:#000;        .he_3DFlipX_inner:hover .he_3DFlipX_caption{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);transform:rotateX(0)}
.he_3DFlipX_caption h3{font-size:1.3em;font-weight:700;text-align:center;width:100%;position:absolute;top:25%;left:5px;margin:0;padding:0;color:#fff}
.he_3DFlipX_caption p{font-size:1em;text-align:center;width:100%;position:absolute;top:45%;left:5px;margin:0;padding:0;color:#fff}
.he_3DFlipX a{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}
/*Y轴翻转*/
.he_3DFlipY{display:block;width:360px;height:240px;overflow:hidden;padding:0;margin:0;border:0;position:relative;box-sizing:border-box;cursor:pointer;-webkit-perspec        .he_3DFlipY_inner{width:100%;height:100%;padding:0;margin:0;position:relative;-webkit-transform-style:prerve-3d;-moz-transform-style:prerve-3d;transform-style:p        .he_3DFlipY_inner > div.he_3DFlipY_img{backface-visibility:hidden;-webkit-transition:all .5s ea-in-out;-moz-transition:all .5s ea-in-out;transition:all .5s ea-in-out}        .he_3DFlipY_inner:hover > div.he_3DFlipY_img{-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);transform:rotateY(180deg)}.he_3DFlipY_inner > div        .he_3DFlipY_caption{position:absolute;top:0;left:0;padding:0;background:#000;color:#fff;height:100%;width:100%;padding:0;margin:0;opacity:0;background-
color:#000;        .he_3DFlipY_inner:hover .he_3DFlipY_caption{opacity:1;-webkit-transform:rotateY(0);-moz-transform:rotateY(0);transform:rotateY(0)}
.he_3DFlipY_caption h3{font-size:1.3em;font-weight:700;text-align:center;width:100%;position:absolute;top:25%;left:5px;margin:0;padding:0;color:#fff}
.he_3DFlipY_caption p{font-size:1em;text-align:center;width:100%;position:absolute;top:45%;left:5px;margin:0;padding:0;color:#fff}
.he_3DFlipY a{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}
/*放⼤*/
.he_ZoomInImg{background:#000;width:360px;height:240px;padding:0;margin:0;border:1px solid #000;position:relative;box-sizing:border-box;cursor:pointer;-webkit-tra        .he_ZoomInImg .he_ZoomInImg_img{position:relative;display:block;width:100%;padding:0;margin:0;opacity:1;-webkit-transition:all .4s ea-in-out;-moz-transition:all .4s        .he_ZoomInImg:hover .he_ZoomInImg_img{opacity:.7;-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-o-transform:scale(1.3);-ms-transform:scale(1.3);transform:s        .he_ZoomInImg .he_ZoomInImg_capti
on{color:#fff;-moz-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .4s ea        .he_ZoomInImg .he_ZoomInImg_caption,.he_ZoomInImg .he_ZoomInImg_caption > a{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;-webkit        .he_ZoomInImg .he_ZoomInImg_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:20%;left:10%;-webkit-transition:all .5s ea        .he_ZoomInImg .he_ZoomInImg_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:45%;left:10%;-webkit-transition:all .6s ea-in-out;-moz-trans        .he_ZoomInImg:hover .he_ZoomInImg_caption_p{color:#fff;opacity:1}
/*缩⼩*/
.he_ZoomOutImg{background:#000;width:360px;height:240px;padding:0;margin:0;border:1px solid #000;position:relative;box-sizing:border-box;cursor:pointer;-webkit-tr        .he_ZoomOutImg .he_ZoomOutImg_img{position:relative;display:block;width:100%;padding:0;margin:0;opacity:1;-webkit-transition:all .4s ea-in-out;-moz-transition:all        .he_ZoomOutImg:hover .he_ZoomOutImg_img{opacity:.7;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale        .he_ZoomOutImg .he_ZoomOutImg_
caption{color:#fff;-moz-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .4s        .he_ZoomOutImg .he_ZoomOutImg_caption,.he_ZoomOutImg .he_ZoomOutImg_caption > a{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;-        .he_ZoomOutImg .he_ZoomOutImg_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:20%;left:10%;-webkit-transition:all .5s e        .he_ZoomOutImg:hover .he_ZoomOutImg_caption_h{color:#fff;opacity:1}
.he_ZoomOutImg .he_ZoomOutImg_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:45%;left:10%;-webkit-transition:all .6s ea-in-out;-moz-tra        .he_ZoomOutImg:hover .he_ZoomOutImg_caption_p{color:#fff;opacity:1}
/*下拉*/
.he_slideCaptionDown{background:#000;width:360px;height:240px;padding:0;margin:0;border:1px solid #000;position:relative;box-sizing:border-box;cursor:pointer;-we        .he_slideCaptionDown .he_slideCaptionDown_img{position:relative;display:block;width:100%;padding:0;margin:0;opacity:1;overflow:hidden}
.he_slideCaptionDown .he_slideCaptionDown_caption{color:#fff;background:rgba(254,114,83,0);-mo
z-backface-visibility:hidden;-webkit-backface-visibility:hidden;back        .he_slideCaptionDown:hover .he_slideCaptionDown_caption{background:rgba(254,114,83,.8);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-o        .he_slideCaptionDown .he_slideCaptionDown_caption,.he_slideCaptionDown .he_slideCaptionDown_caption > a{position:absolute;top:0;left:0;width:100%;height:100%        .he_slideCaptionDown .he_slideCaptionDown_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:-50%;left:10%;-webkit-transi        .he_slideCaptionDown:hover .he_slideCaptionDown_caption_h{color:#fff;top:25%;opacity:1}
.he_slideCaptionDown .he_slideCaptionDown_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:-50%;left:10%;-webkit-transition:all .6s ea-in        .he_slideCaptionDown:hover .he_slideCaptionDown_caption_p{color:#fff;top:45%;opacity:1}
/*下拉==新页⾯*/
.he_slideAllDown{background:#000;width:360px;height:240px;padding:0;margin:0;border:1px solid #000;position:relative;box-sizing:border-box;cursor:pointer;-webkit-t        .he_slideAllDown .he_slideAllDown_img{position:relative;display:block;width:100%;padding:0;margin:0;opacity:.9;-web
kit-transition:all .4s ea-in-out;-moz-transition:al        .he_slideAllDown:hover .he_slideAllDown_img{opacity:1;-webkit-transform:translate3d(0,100%,0);-moz-transform:translate3d(0,100%,0);-o-transform:translate3d(0,100%        .he_slideAllDown .he_slideAllDown_caption{color:#fff;-moz-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .4        .he_slideAllDown .he_slideAllDown_caption,.he_slideAllDown .he_slideAllDown_caption > a{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0        .he_slideAllDown .he_slideAllDown_caption_h{font-size:1.3em;font-weight:700;text-align:center;width:80%;position:absolute;top:-50%;left:10%;-webkit-transition:all .5s        .he_slideAllDown:hover .he_slideAllDown_caption_h{color:#fff;top:25%;opacity:1}
.he_slideAllDown .he_slideAllDown_caption_p{font-size:1em;text-align:center;width:80%;position:absolute;top:-50%;left:10%;-webkit-transition:all .6s ea-in-out;-moz-        .he_slideAllDown:hover .he_slideAllDown_caption_p{color:#fff;top:45%;opacity:1}

本文发布于:2023-07-28 05:24:12,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1099549.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:时间   成语   泡脚   边框   剧变   带风   坏处   交叉
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图