Currently, I am in the process of developing a bootstrap-based website and facing the challenge of creating a title inside a frame with text attached to the middle of the bottom border while ensuring responsiveness. On smaller devices, the text may need to wrap into multiple rows or even go inside the box.
I have managed to achieve this result partially https://i.sstatic.net/eM4f3.png, but my goal is to replicate it like this https://i.sstatic.net/vnbIF.png.
If anyone has experience implementing this design or can offer assistance, I would greatly appreciate it.
Thank you in advance.
An important requirement is that the design must be completely transparent so it can overlay a background image seamlessly.
This design concept differs from a fieldset as the "legend" appears at the bottom.