mozilla
Your Search Results

    LCSExample

    This article is in need of a technical review.

    <div id="rotate">This text will rotate indefinitely</div>
    
    #rotate {
        display: inline-block;
        margin-top: 100px;
    
        animation-duration: 3s;
        animation-iteration-count: infinite;
        animation-name: rotate;
    }
    
    @keyframes rotate {
        from {
            transform: rotate(0);
        }
        to {
            transform: rotate(360deg);
        }
    }
    

     

    Document Tags and Contributors

    Tags: 
    Contributors to this page: kscarfone, groovecoder, jezdez, fscholz, teoli
    Last updated by: jezdez,