I wish to create a [ and ] bracket just with CSS. Is there a way to specify the top and bottom border (Without slicing the image) so it looks like a br
[
]
You can use the :after and :sbefore pseudo-elements, with the content property.
More info
Something like
.bracket:after { content: ']' } .bracket:before { content: '[' }