Forums

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

Home Forums CSS How do I create a shape of a tag, only using css?

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

    I want to learn on how can I create the shape of a tag entirely in CSS…
    Like you know, a triangle shape on the left and rectangular other sides…

    Can anyone help

    #57595
    lyleyboy
    Member

    Hmmm, Not sure what you’re trying to achieve.
    Why not just stick to < and > then style them up as required.

    #57596
    lyleyboy
    Member

    Arrgh. Sorry I forgot it would format the < and >.

    They should be

    <

    >
    #57588
    ccc630
    Member

    Chris Coyier put together a demo page of CSS3 shapes:

    https://css-tricks.com/examples/ShapesOfCSS/

    This might have what you’re looking for — just remember that browser support will vary!

    #57414
    Chris Coyier
    Keymaster

    Check out the octagon on that page. You should be able to alter that and rotate as needed.

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