PDA

View Full Version : کمک در زمانبندی css animation



omidparkour
یک شنبه 29 دی 1392, 15:36 عصر
سلام
من در فایل زیر میخوام اول اون تصویر آبی بیاد پایین و بعد از چند صدم ثانیه اون خط افقی سفید خاکستریه بیاد داخل و بعدش هم پس از چند صدم ثانیه نوشته ی گروه طراحی رها دیزاینر بیاد داخل
لطفا کمک کنید
من هر کاری کردم نتونستم
ممنون
http://upsara.com/images/i5pep6zk4b5q8beg2nfa.rar

danial.saeedi
یک شنبه 29 دی 1392, 15:53 عصر
دوست عزیز می تونی در داخل انیمیشن زمانش رو بنوبسی.

Omid Jackson
یک شنبه 29 دی 1392, 16:10 عصر
توی تاپیک قبلی یه نمونه گذاشتم! اون رو ببینین

omidparkour
یک شنبه 29 دی 1392, 18:22 عصر
من تاپیک قبلی نمونه رو نگاه کردم اما موفق نشدم باز خودم درست کنم
اگر کسی برام اصلاحش کنه ممنون میشم

omidparkour
یک شنبه 29 دی 1392, 23:04 عصر
لطفا یکی کمک کنه اصلاحش کنه
درگیرشم

omidparkour
دوشنبه 30 دی 1392, 12:49 عصر
کسی نیست این رو برای ما اصلاحش کنه
؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

omidparkour
چهارشنبه 02 بهمن 1392, 07:53 صبح
آقا یکی برای من فقط یک قسمتش رو درست کنه من بفهمم چطوریه بقیه اش رو خودم درست میکنم

به خدا وقت زیادی نمیگیره آ
سخت هم که نیست
:افسرده::گریه::ناراحت:

qartalonline
چهارشنبه 02 بهمن 1392, 09:02 صبح
اصلاح و تمیز شد.


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Slider</title>
<style type="text/css">
@import url("style.css");
</style>
</head>
<body>

<div class="slider">
<div class="bg1"></div>
<div class="lineraha"></div>
<div class="txtraha"></div>
</div>

</body>
</html>

کد css:.slider{
background-color: #ccc;
display: block;
width: 700px;
height: 286px;
position: relative;
margin: 0 auto;
margin-top: 150px;
overflow: hidden;
-webkit-box-shadow: 1px 1px 5px #999;
-moz-box-shadow: 1px 1px 5px #999;
box-shadow: 1px 1px 5px #999;
}
.bg1{
background-image: url(img/bg1.jpg);
display: block;
width: 700px;
height: 286px;
position: absolute;
-webkit-animation: bg1 2s;
-moz-animation: bg1 2s;
-o-animation: bg1 2s;
animation: bg1 2s;
}
.lineraha{
background-image: url(img/line1.png);
display: block;
width: 700px;
height: 286px;
position: absolute;
-webkit-animation: lineraha 4s;
-moz-animation: lineraha 4s;
-o-animation: lineraha 4s;
animation: lineraha 4s;
}
.txtraha{
background-image: url(img/grd.png);
display: block;
width: 700px;
height: 286px;
position: absolute;
-webkit-animation: txtraha 8s;
-moz-animation: txtraha 8s;
-o-animation: txtraha 8s;
animation: txtraha 8s;
}


@-webkit-keyframes bg1 {
0% { top: -400px; }
100% { top: 0; }
}
@-moz-keyframes bg1 {
0% { top: -400px; }
100% { top: 0; }
}
@-o-keyframes bg1 {
0% { top: -400px; }
100% { top: 0; }
}
@keyframes bg1 {
0% { top: -400px; }
100% { top: 0; }
}


@-webkit-keyframes lineraha {
0% { right: -700px; }
50% { right: -700px; }
100% { right: 0; }
}
@-moz-keyframes lineraha {
0% { right: -700px; }
50% { right: -700px; }
100% { right: 0; }
}
@-o-keyframes lineraha {
0% { right: -700px; }
50% { right: -700px; }
100% { right: 0; }
}
@keyframes lineraha {
0% { right: -700px; }
50% { right: -700px; }
100% { right: 0; }
}


@-webkit-keyframes txtraha {
0% { opacity: 0; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@-moz-keyframes txtraha {
0% { opacity: 0; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@-o-keyframes txtraha {
0% { opacity: 0; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes txtraha {
0% { opacity: 0; }
50% { opacity: 0; }
100% { opacity: 1; }
}

omidparkour
چهارشنبه 02 بهمن 1392, 21:14 عصر
واقعا ممنون دوست عزیز :بوس: