Kullanım Tekniği Xf Afişte Animasyonlu Simge

extra.less olarak :

CSS:
.userBanner.userBanner--blue {
    position: relative;
    background: linear-gradient(117deg, rgba(255, 0, 0, 0.8), #9c27b0 70.71%);
    color: #fff;
    font-size: 12px;
    line-height: 2.5;
    padding: 5px 5px 5px 20px;
    border: none;
    border-radius: 7px;
    .userBanner-before {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        background: url("https://i.imgur.com/MIuwpEn.gif");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 30px;
        height: 100%;
    }
}

1656786103539.png
 
Üst