Forums

How to Make Transparent Div for post content? (4 posts)

  1. 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.

  2. jomsky
    Member
    Posted 11 months ago #

    Divs automatically expands vertically by default as long as the height is not set.

  3. Abinav Thakuri
    Member
    Posted 11 months ago #

    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

  4. Abinav Thakuri
    Member
    Posted 11 months ago #

    The last value of the Rgba will be the opacity.So you can enter a value to your liking.

Reply

You must log in to post.

About this Topic