+ 2

Ok, what the ... am I doing wrong. Im getting ticked off.

I havn't used css in forever and ig i forgot some stuff. OO languages are better. Anyway, why wont my div (bgColorSnap) display? Here's the code: https://code.sololearn.com/W4OU5UGIgxGi/?ref=app

1st Aug 2022, 5:18 AM
pHANTOM|sTEELE
5 Answers
+ 4
#bgBlueGdnt should be in css file instead of bgBlueGdnt
1st Aug 2022, 11:18 AM
Ihar Petrushenka
Ihar Petrushenka - avatar
+ 3
#id
1st Aug 2022, 5:35 AM
Raul Ramirez
Raul Ramirez - avatar
+ 1
Opacity is set to zero. Try changing opacity. For example to 0.8: background-image:linear-gradient(to right, rgba(8, 9, 25, 0.8), rgba(12, 52, 122, 0.8));
6th Aug 2022, 4:36 PM
Ihar Petrushenka
Ihar Petrushenka - avatar
0
It still isn't working.
6th Aug 2022, 3:54 PM
pHANTOM|sTEELE
0
Hi! Ok, i see. I corrected your code. It prints the blue rectangle cause all rgb values are the same, so it doesn’t create the difference since all the colors are the same. I hope it helped you! If you still have some questions i’ll be glad to help! Have a good day! https://code.sololearn.com/WY2K26oZo6zO/?ref=app
20th Aug 2022, 3:22 PM
Vlad Apet