CSS continuous animation for images

  • Resolved
    Posted in: NO8 WP  

  • Member
    February 25, 2015 at 3:24 pm #6851


    I’m trying to make the images on this page to always slowly rotate:

    Home Creative

    Specifically this one:

    I’ve tried to use this code in the custom CSS box and putting the class name in the image extra css class field but its not working for some reason:

    .imagerotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
    @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
    @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
    @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

    Can you please help with this?

    Sorry, this forum is for verified users only. Please Login / Register to continue
    or get 6 months support forum access to all forum topics for a reduced price.

Comments are closed.