Forums

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

Home Forums CSS CSS Banners

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41505
    Htmlmainiac
    Member

    I am trying to get a banner effect on my website. It’s not public (the files (Sorry!)).

    There is a pattern in the background and i have a div with background then i am using a :before element and i’m trying to get the background of the page come though the css triangle on the :before element but i cant seem to do that at all.

    Help. Please!

    #118435
    Watson90
    Member

    Can you take a printscreen and upload it to [Imgur](http://imgur.com/ “”) and share it with us here at least?

    #118452
    Watson90
    Member

    This will help you – http://jsfiddle.net/cszLX/

    #118587
    Watson90
    Member

    You know what @Htmlmainiac I’m not too good with pseudo elements myself and it still confuses me on what makes it look like a transparent triangle. I need to learn how to use the `:before` and `:after` effectively still. Hopefully someone else could explain to you (and me)

    #118595
    rodolpheb
    Participant

    Hi here is one way to create a triangle:
    http://codepen.io/joe/pen/hgJmq

    #118602
    rodolpheb
    Participant

    Sorry, cannot open your link :

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