Transparent Problems | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Transparent Problems

So I make a div called, square, I set the width and height to the exact same thing, I float it to the left to align the words together! Then to make it transparent I put in background-color: rgba(200,0,0,0.1); Then it shows up on my screen but, it says “Fallback background-color (hex or RGB) should precede rgba background-color”

3rd Oct 2018, 8:02 PM
Johnny Meyer
Johnny Meyer - avatar
1 Answer
+ 5
You probably have two background-color properties. The fallback is the first one which is not used if you have two.
3rd Oct 2018, 8:52 PM
Toni Isotalo
Toni Isotalo - avatar