Posted by Unwanted grey area in CSS

SquidKitties (#125338)

Interstellar
View Forum Posts


Posted on
2019-06-14 19:15:09
I added new coding to my den and it appears that part of the default night mode is still showing above the background image. I want these parts to be transparent so the background shows through and I can't figure out how to get rid of it.



Hrt Icon 0 players like this post! Like?

Kraft (#738)

Aztec Knight
View Forum Posts


Posted on
2019-06-14 19:29:47
Add to your CSS file:

.main {
background: rgba(255, 255, 255, 0);
}

That's completely transparent, edit the rbg value then the final number is the alpha channel, which controls the level of transparency.



Hrt Icon 0 players like this post! Like?

SquidKitties (#125338)

Interstellar
View Forum Posts


Posted on
2019-06-14 19:32:23
Thank you.
I'm new to this, where in the code would I add it?



Hrt Icon 0 players like this post! Like?

Kraft (#738)

Aztec Knight
View Forum Posts


Posted on
2019-06-14 19:43:51
Anywhere in the CSS file should work ^^



Hrt Icon 0 players like this post! Like?







Memory Used: 624.56 KB - Queries: 2 - Query Time: 0.00035 - Total Time: 0.00412s