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?
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
Hmmm, Not sure what you’re trying to achieve. Why not just stick to < and > then style them up as required.
Arrgh. Sorry I forgot it would format the < and >.
They should be
<
>
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!
Check out the octagon on that page. You should be able to alter that and rotate as needed.