Questions and Answers

How do I collect points?

  • +5
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
5

by アリス in Web Site Help about March 25, 2017 open - report

css help

how to make this code work properly:

 

 

div {
    width: 300px;
    height: 100px;
    background-color: black;
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 4s;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
    from {background-color: lightblue;}
    to {background-color: purple;}
}

/* Standard syntax */
@keyframes example {
    from {background-color: lightblue;}
    to {background-color: purple;}
}

 

 

pls help

No answers yet. Be the first!
You must login to post an answer.