I have a design in which I have to draw half of the border around a text. The method I am using to hide half of the border around the box forces me to use an absolutely positioned child element, which goes out of the flow of the relatively positioned parent. The consequence is that, when the length of the text increases, the parent box does not grow with the child and the text goes over the border. I want the parent to grow in height to surround the text. I have a design in which I have to draw half of