Forums

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

Home Forums CSS css adaptative triangle

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39625
    hectorcalleja
    Participant

    Hi hommies!

    I´m trying to css a graph, and I have to paint some vertical bars. This rectangular vertical lines end with a triangle on the top, but this triangles adapt their inclination to the begining of the next bar… Is there a way to paint this on css?

    Check this example, the bars on the background in the left square with the 1.76M on it.

    Thanks in advance!

    Héctor

    #108984
    hectorcalleja
    Participant

    Hello?

    :D

    #109195
    Paulie_D
    Member

    You haven’t actually linked to an example but basically, the answer is no…you can’t do this with pure css.

    In fact triangles can’t be done except by ‘faking’ them by using pseudo elements and borders.

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