Looking to create a unique "label" within a container div? The label should be positioned in the top left corner and resemble this example: here. One common approach is to slightly shift the inner div so that it overlaps with the container. However, this method still leaves the inner div visible outside of the container.
Is there a more elegant solution to achieve this effect without brute force?
Thank you!