Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Semi Transparent Div Container Background

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #200069
    ushadow91
    Participant

    I am attempting to create a basic effect using a div container shape with text. My main page background is white and I would like the shape to be filled with a semi transparent blue until the user hovers over the box at which point it transitions and the color changes. Everything is working except the css property:

    background-color:rgba(50,75,255,0.5);

    It is not creating any transparency, its acting as though it were an opacity property changing the overall visibility of the container. Here is a link to my code.

    Link: http://codepen.io/anon/pen/emwdxg.css

    #200070
    Paulie_D
    Member

    Codepen is of no value without the HTML along with the CSS.

    #200071
    ushadow91
    Participant

    Oops. Very correct.

    HTML Link:
    http://tny.cz/a5dbe666

    #200073
    ushadow91
    Participant

    Link to codepen with HTML and CSS

    http://codepen.io/ushadow91/full/qEzqxL/

    The area in question is the blue div boxes under “Our Services” I am trying to make those areas semi transparent.

    Thanks

    #200076
    Paulie_D
    Member

    They are semi-transparent…and the alpha channel is working fine.

    It’s just that the background under the divs is white.

    What are you expecting?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.