Box shadow keyframes

by anup1986

HTML

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css">
<div class="assets-wrapper asset-recieved">
</div>

CSS

.assets-wrapper {
    margin: 20px auto;
    position:relative;
    width: 50px;
    height: 50px;
    background: rgba(67,67,67, 0.7);
    border-radius: 50%;
    border: 1px solid #73AD7F;
    
    box-sizing: border-box;
    
    opacity: 1;
}

.assets-wrapper.asset-recieved {
    -webkit-animation: shadow-animation 2s linear 2;
}

.assets-wrapper:after {
    content: '\f060';
    font-family: 'FontAwesome';
    position: absolute;
    top: 15px;
    left: 500px;
    height: 30px;
    width: 30px;
    -webkit-animation: move-animation 1s 1s ease-in-out infinite;
    margin-left: 50px;
    
    transition: margin-left 1s ease;
}

.assets-wrapper:after{
    margin-left: 0;
}

@-webkit-keyframes move-animation {
    0%, 100% {
        margin-left: 0;
        left: 50px;
    }
    50% {
        left: 75px;
    }
}

@-webkit-keyframes shadow-animation {
    0%,
    100%{
        box-shadow: 0 0 2px 1px #73AD7F, 0 0 2px 1px #FFF inset;
    }
    30% {
        box-shadow: 0 0 6px 5px #73AD7F, 0 0 6px 5px #FFF inset;
    }
    50% {
        box-shadow: 0px 0px 2px 1px #73AD7F, 0 0 2px 1px #FFF inset;
    }
    75% {
        box-shadow: 0 0 10px 5px #73AD7F, 0 0 10px 5px #FFF inset;
    }
}