Forums

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

Home Forums CSS Transparent gradient over image

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39736
    danielpox
    Member

    Hi!

    I’m trying to get this Apple iPhone reflection effect to my site, but I also want an image “behind” the reflection.
    I also want this reflection to fade away in a specific angle but the reflection doesn’t even show.

    Code:


    background-image: url(http://voxorn.com/iphone5thoughts/img/ios6_wallpaper.png) no-repeat center center,
    -webkit-linear-gradient(15deg, #000 80%,rgba(255, 255, 255, 0.3) 80%);

    Codepen: http://codepen.io/danielpox/pen/mbKLv

    The site

    #109561
    Paulie_D
    Member

    Please put your HTML / CSS in Codepen. It will let us play with it.

    You will have to have the images on a live webserver so we can view them. I use Photobucket but if you have a live site that will work as well.

    #109564
    danielpox
    Member

    Oh sorry xD

    This is the path: “url(http://www.voxorn.com/iphone5thoughts/img/ios6_wallpaper.png)”

    #109565
    danielpox
    Member
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.