sun-blick

by tripcollor

HTML

<div class="circle circle-build animated">
    <div class="sale">
        <p>Народный выбор!</p>
    </div>
</div>

CSS

.circle {
    position: relative;
    z-index: 10;
    width: 250px;
    height: 250px;
    border: 5px solid white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 3px 3px 13px -5px black;
    background: #ff1c37;
    color: white;
    transform: rotate(-12deg);
    position: relative;
    overflow: hidden;
    display: inline-block;
    top: -120%;
    transition: top 0.25s cubic-bezier(0, 0.3, 1, 0.7);
}
.circle:hover {
    top: 120%;
}
.circle:before, .circle:after {
    content:'';
    display: block;
    position: absolute;
    height: 100%;
}
.circle:before {
    width: 140%;
    top: inherit;
    left: -20%;
    opacity: 0.6;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 40%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0));
    transform: rotate(-20deg);
}
.circle:after {
    width: 100%;
    top: 0;
    border-radius: 50%;
    box-shadow: inset -5px -15px 40px rgba(0, 0, 0, 0.1);
    background-image: radial-gradient(35% 25%, closest-corner, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}
.sale {
    position: absolute;
    font-size: 40px;
    left: 0%;
    top: 18%;
    z-index: -5;
}