• During registration a specific email will be required. Only gmail.com & outlook.com" .
    Do not create multi-accounts, you will be blocked! For more information about rules, limits, and more, visit the Support.

Help

D

Deleted member 435

Guest
Hello, how are you
I want the animated color on the main sections. Can you write the code for me?
 
Where exactly do you want that code?
Less:
.node-background() {
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textflow 5s linear infinite;   
}
.nodeGradient(@nodeid, @colorone, @colortwo) {
    .node.node--id@{nodeid} {
        .node-title a {
            background: linear-gradient(90deg, @colorone, @colortwo, @colorone);
            .node-background()       
        }
    }
    [data-content-key="forum-@{nodeid}"] {
        .p-title-value {
            background: linear-gradient(90deg, @colorone, @colortwo, @colorone);
            .node-background()       
        }
    }
}

.nodeGradient(2, #e933ff, #334dff);

@keyframes textflow {
    from {background-position: 0% center}         
    to {background-position: 200% center}
}
 
Back
Top Bottom