Amanda Sky Amanda Sky - 1 year ago 55
HTML Question

create left and right bracket with CSS

I wish to create a [ and ] bracket just with CSS is there anyway I can specify the top and bottom border so it looks like a bracket?

border-left: 1px solid black;


Is there a way to do this without slicing the image up?

Answer Source
<span class="b">text</span>  


working example: