How to create a transparent or colorless css background?

Asked

Viewed 1,241 times

1

What is the code in css to make the background transparent, or colorless? I’m creating a Native ad on Admob and I need the background to be transparent.

1 answer

1


I was able to create the transparency I needed, I used the code below in CSS :

body { background-color:rgba(144, 203, 44, 0.4); }

leaving the alpha with a smaller number it would rectify the opacity, if it leaves in "0", it becomes totally transparent ! in my case I left with 0.4

Browser other questions tagged

You are not signed in. Login or sign up in order to post.