How to create a transparent or colorless background in css?

1

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

    
asked by anonymous 25.09.2016 / 14:01

1 answer

1

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

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

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

    
25.09.2016 / 14:01