I have a <div>
with a red border on top and left side.
The border-radius
is: 16px 4px 10px 4px
However, I want to overlay an svg-image over the top border, like in this picture: EXAMPLE IMAGE
Is there a way to break or stop the red top border in a specific area?
Unfortunately, my attempts at solutions have not been very elegant:
- Adding a
background-image
- Using a
<fieldset>
instead of a<div>
- Trying
,border-image: linear-gradient(to left ,red 25%,transparent 25% 75%,red 0) 1;
which may work but is complex.
- Exploring this approach
Each solution seems to lack simplicity and elegance.