In my ReactJs project, I have a <div> which has a hexagonal background-image.
I want to add a hexagonal border around this background-image. Is it possible to do that using css?
<div
style={{
backgroundImage: `url("/images/eocs/aspiration.png")`,
width: '120%',
height: '0',
paddingTop: '105%',
position: 'relative',
marginTop: `${eoc.topPosition}`,
marginBottom: `-${eoc.topPosition}`,
}}
</div>
Adding a border on div applies a rectangular border on it.
Here is the background-image, my requirement is to add a border on this image just outside the black colored border.
