Jump to content
  • 0

keyframe анимация не работает в chrome


apexis
 Share

Question

keyframe анимация не работает в chrome. Пробовал с префиксами, не работает. Как это решить? http://jsbin.com/menezamu/1/edit

@keyframes huge {	0% {transform: scale(1.0, 1.0); background-color: #ff375a }	50% {transform: scale(1.2, 1.2); background-color: #379bff }	100% {transform: scale(1.0, 1.0); background-color: #ff375a}	}.animButton {    color:white;    font:italic 20px Impact;    letter-spacing:1px;    text-shadow: 0 1px 1px rgba(0,0,0,0.6);    display:table;    text-align:center;    line-height:150px;    width:150px;    height:150px;    border-radius:100px;    background:url(/img/usa/herbals.png) no-repeat bottom, -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%) #ff375a;    background:url(/img/usa/herbals.png) no-repeat bottom, -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%) #ff375a;    box-shadow: 1px 1px 2px black;    animation: huge 3s infinite;    margin: 0 auto;    }
<a href="/trunk/herbal.php" title="О фитосборах «Здоровье семьи»" class="animButton">Подробнее</a>
Edited by apexis
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Для transform, судя по всему, тоже пока нужен -webkit-префикс. А вот -moz-radial-gradient давно можно и нужно заменить на беспрефиксный вариант с ключевым словом at.

Да, дело было в префиксах, спасибо

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy