cebuy
Member
Posted 11 months ago #
Does anyone know how to make a How to Make Transparent Div for post content that expands in height as content fills the div plus it does not make the text transparent? The method I tried forces you to set the height manually like height: 1500px This is not good for dynamic content situations like in WordPress posts.
Divs automatically expands vertically by default as long as the height is not set.
If I understood correctly you need to use RGBA colors on your CSS.You might find this helpful.
http://www.w3.org/TR/css3-color/#rgb-color
The last value of the Rgba will be the opacity.So you can enter a value to your liking.