.sushi-card-with-border {
    position: relative;
}
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.sushi-card-with-border::after, .sushi-card-with-border::before {
    content: '';
    position: absolute;
    height: 103%;
    width: 103%;
    background-image: conic-gradient(from var(--angle), transparent 50%, #471A3F);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 5px;
    border-radius: 5px;
    animation: 4s spin linear infinite;
}
@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}