+ 1

Why isn't my linear gradient working?

Haven't used css 4 awhile but I need it now... any help plz? https://code.sololearn.com/W3HD8OG0zVQ1/?ref=app https://code.sololearn.com/W4OU5UGIgxGi/?ref=app

6th Aug 2022, 3:46 PM
pHANTOM|sTEELE
1 Respuesta
+ 5
They work fine. You're just making all colors transparent with the "0" from rgba(x,y,z,0). The a from rgba makes colors transparent, going from 1(full color) to 0(completely transparent) In the first code you forgot the "-" from linear-gradient()
6th Aug 2022, 4:13 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar