Posted by energy bar gradient?
Jay (#294796)

Usual
View Forum Posts


Posted on
2022-12-07 20:08:24
hi so ive been trying to figure out how to make the energy, hunger, exp, imp bars into gradients. like this
heres the code ive been using to do it and it doesnt work, /* ENERGY BAR COLOR */
.progress-bar {
background: linear-gradient (45deg, #760600, #FFFFFF);
color: #000000 !important;
}

does anyone know how to do it correctly? im fairly new to CSS in general



Hrt Icon 0 players like this post! Like?

Chen (back after 6
month hiatu (#373905)

Sapphic
View Forum Posts


Posted on
2023-01-09 15:26:13
I think for gradients you have to use background-image and not background, not too sure tho, you could also try
background: linear-gradient (45deg, #760600, #FFFFFF)!important;



Hrt Icon 0 players like this post! Like?







Memory Used: 620.82 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00340s