@Henolivares
Posted
Hi, I reviewed your code, and I found the issue. It's actually so simple, just a typo.
In the custom property --color--circle-gradient-violet: hsla(256, 72%, 46, 1);
you missed a % at the third value, that caused anywhere you use that property won't work. It should be --color--circle-gradient-violet: hsla(256, 72%, 46%, 1);
and that's it.
A suggestion I can give you is that you can assign custom properties to another, you have --color--circle-gradient-violet: hsl(256, 72%, 46%, 1); --color--circle-gradient-persian-blue: hsl(241, 72%, 46%, 0); --color-circle-gradient: linear-gradient(hsl(256, 72%, 46, 1), hsl(241, 72%, 46%, 0));
which is repeating the values, it should be like this
--color--circle-gradient-violet: hsla(256, 72%, 46%, 1); --color--circle-gradient-persian-blue: hsla(241, 72%, 46%, 0);--color-circle-gradient: linear-gradient(var(--color--circle-gradient-violet), var(--color--circle-gradient-persian-blue));
btw, sorry for my English if i make a mistake.
Marked as helpful
@funficient
Posted
Thank you SO much @Henolivares ! Well spotted! It works! And thank you for the suggestion to make my variables more understandable, I was wondering how best to handle this!
PS. You're English is great, and your CSS even better! :-)