Circle waiting 3

by rulokc

HTML

<div class="frame">
    <div class="gradient"></div>
    <div class="mask"></div>
</div>

CSS

.frame {
    width: 100px;
    height: 100px;
    background-color: #333;
    border-radius: 100%;
    overflow: hidden;
    position: relative;
    -webkit-animation: rotating 1s linear infinite;
}
.gradient {
    width: 50%;
    height: 50%;
    background: -webkit-linear-gradient(30deg, #333 0%, #333 20%, #555 60%, #fff 100%);
}
.mask {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 100%;
    background-color: #fff;
}
@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}