Forums

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

Home Forums CSS css trapezoid image transparent cut

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #179580
    bubaterminator
    Participant

    I want to make a trapezoid image with css. I’ve already found some code, but i want a code which makes the trapzeoid shape with transparent left border.

    http://s28.postimg.org/ucfie0ctp/image.gif

    So here you can see that, the left border of the image has been cut down. I want to do that with css. Is it possible?

    #179581
    Paulie_D
    Member

    So what have you tried so far?

    We’re not a ‘code it for you site’.

    #179586
    bubaterminator
    Participant

    http://codepen.io/anon/pen/mcEub

    i used that, it worked but the :after tag is not transparent, if it is, the image wont be cut

    #179603
    Paulie_D
    Member

    Any reason you can’t just edit the image rather than forcing it with fancy CSS?

    #179610
    Paulie_D
    Member

    However, taking one from your question on SO.

    http://codepen.io/Paulie-D/pen/bCkhH

    #179614
    bubaterminator
    Participant

    No, because i want a slider, so i want to slide the images, and i dont want to cut all of them. The slider is going to change the images and i want to cut the images with css coz its more confortable..

    #179617
    Paulie_D
    Member

    Then you’re out of luck AFAIK.

    HTML elements are rectangular…..

    Also, you might have told us the whole problem rather than making us waste our time going down dead ends.

    #179618
    bubaterminator
    Participant

    soo sad

    #179620
    bubaterminator
    Participant

    I told u, that i want to cut down the left border of the image, and i tried it before but im looking for a transparent version. I think i told everything..

    #179621
    Paulie_D
    Member

    Did you mention that this was for a slider?

    No, you didn’t.

    That limits the things we can do…..

    #179623
    bubaterminator
    Participant

    Ok.. im so so sorry. I wish i could give ur wasted time (10minutes) back

    #179624
    Paulie_D
    Member

    Well I make it around an hour judging by the timestamps.

    Anyway, my minimum charge time is an hour. :)

    Peace out

    #179627
    bubaterminator
    Participant

    ok maan, im sorry

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