为了账号安全,请及时绑定邮箱和手机立即绑定

那标题文字怎么没有过度效果,帮看看

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title></title>

</head>

<style type="text/css">

/*动画样式定义*/

@-webkit-keyframes rock{

0%{transform: rotate(0deg)}

10%{transform: rotate(3deg)}

20%{transform: rotate(-3deg)}

30%{transform: rotate(2deg)}

40%{transform: rotate(-2deg)}

50%{transform: rotate(1deg)}

60%{transform: rotate(-1deg)}

70%{transform: rotate(0deg)}

100%{transform: rotate(0deg)}

}

*{margin: 0;padding: 0;}

body{

background: #000;

min-width: 1200px;

min-height: 600px;

-webkit-font-smoothing:antialiased;

font-family: 'WenQuanYi Micro Hei',simsun,sans-serif;

}

.main{

width: 1200px;

height: 600px;

background: #000 url(img/bg.jpg);

position: absolute;

left: 50%;

top: 50%;

margin-left: -600px;

margin-top: -300px;

overflow: hidden;

}

.c_zongzi_box{

width: 312px;

height: 305px;

position: absolute;

left: 700px;

top: 184px;

}

/*.c_zongzi_box_rock{

-webkit-animation:rock 2s infinite;

}*/

.c_zongzi{

width: 312px;

height: 305px;

background: url(img/zz.png);


}

.c_shengzi_1{

width: 218px;

height: 180px;

background: url(img/line_1.png);

position: absolute;

left: 10px;

top: 120px;

}

.c_zongzirou_1{

width: 288px;

height: 206px;

background: url(img/zzr_1.png);

background-size:288px 206px;

position: absolute;

left:50px;

top: 34px;

z-index: 110;

opacity: 0;

display: none;

transition: all 1s;

}

.c_zouye_1{

width: 114px;

height: 266px;

background: url(img/leaf_left.png);

position: absolute;

left:0px;

top: -30px;

z-index: 101;

opacity: 0;

display: none;

transition: all 1s;

}

.c_youye_1{

width: 318px;

height: 338px;

background: url(img/leaf_right.png);

position: absolute;

left:80px;

top: -60px;

z-index: 111;

opacity: 0;

display: none;

transition: all 1s;

}

.c_diye{

width: 618px;

height: 468px;

background: url(img/leaf_expand.png);

position: absolute;

left: -150px;

top: -45px;

z-index: 99;

opacity: 0;

display: none;

transition: all 1s;

}

.c_t_1{

width: 180px;

height: 100px;

background: url(img/t_jixiang.png);

position: absolute;

left: 50%;

top: 50%;

margin-left: -70px;

margin-top: -50px;

z-index: 200;

transform-origin:center center;

transform: scale(.8);

opacity: 0;

display: none;

transition: all 1s;

}

.c_t_2{

width: 180px;

height: 100px;

background: url(img/t_ruyi.png);

position: absolute;

left: 50%;

top: 50%;

margin-left: -70px;

margin-top: -50px;

z-index: 200;

transform-origin:center center;

transform: scale(.8);

opacity: 0;

display: none;

transition: all 1s;

}

/* 祝福语文字*/

.text{

position: absolute;

width: 400px;

height: 370px;

left: 180px;

top: 140px;

font-size: 14px;

line-height: 20px;

color: #333;

   

}



.text .caption{

width: 400px;

height: 240px;

background: url(img/caption.png) no-repeat;

margin-left: 40px;

opacity: 0;

transition-duration:1s;

}

.text .to{

width: 400px;

margin-top: 30px;

margin-left: 40px;

opacity: 0;

transition-property:all 1s .5s;

}

.text .msg{

width: 400px;

margin-top: 10px;

margin-left: 40px;

opacity: 0;

transition-property:all 1s 1s;

}

.text .from{

width: 400px;

margin-top: 10px;

margin-left: 70px;

        text-align: right;

opacity: 0;

transition-property:all 1s 1.5s;

}

.text_in .caption,

.text_in .to,

.text_in .msg,

.text_in .from{

opacity: 1;

margin-left: 0;

}

</style>

<body>

<div class="main">

<div class="c_zongzi_box c_zongzi_box_rock">

<div class="c_zongzi"></div>

<div class="c_shengzi_1"></div>

<div class="c_zongzirou_1"></div>

<div class="c_zouye_1"></div>

<div class="c_youye_1"></div>

<div class="c_diye"></div>

<div class="c_t_1"></div>

<div class="c_t_2"></div>

</div>

<div class="text text_in">

<div class="caption"></div>

<div class="to">慕课网的小伙伴</div>

<div class="msg">在端午节来临之际,小MU给在家送来心意了,祝大家好运,吉祥,如意,幸福,快快乐乐每一天,慕课网永远和你相伴!</div>

<div class="from">小慕</div>

</div>

</div>

</body>

</html>


正在回答

1 回答

你这具体一下,好不呢

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

那标题文字怎么没有过度效果,帮看看

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信