اموزش وبلاگ نویسی

وبلاگ نویسی
اموزش وبلاگ نویسی
بایگانی
آخرین مطالب

۱ مطلب با کلمه‌ی کلیدی «تاخیرanimation» ثبت شده است

<html>

<head>

<style> 

div {

    width: 100px;

    height: 100px;

    background: red;

    position: relative;

    -webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */

    -webkit-animation-delay: 2s; /* Chrome, Safari, Opera */

    animation: mymove 5s infinite;

    animation-delay: 2s;

}


/* Chrome, Safari, Opera */

@-webkit-keyframes mymove {

    from {left: 0px;}

    to {left: 200px;}

}


@keyframes mymove {

    from {left: 0px;}

    to {left: 200px;}

}

</style>

</head>

<body>



<div></div>


</body>

</html>


۱ نظر موافقین ۲ مخالفین ۰ ۱۵ مرداد ۹۴ ، ۱۶:۱۲
mehdi ghlami