I have a <div>
whose border has a different customization than the default. It is not totally solid, it has open "spaces" at the top and bottom.
Example drawn:
The core content varies, so the size of <div>
also varies.
What I've already tried:
- I created 2% with%, one bottom with solid border and the other with white background, but it was not practical;
- I used pseudo-elements to allocate the border on the right and left, but it also was not cool because the size varies;
- I used
<div>
, but it also did not look good.
Does anyone have a suggestion?