How can I imitate the look of the outline and label from Material-UI's outlined textfield?
问题 I'm trying to imitate the outlined textfield from Material-UI but I don't know how to hide the border behind the title text. In the below image, notice how the "Due Date/Time" is taken from the Material-UI library and the title hides the border behind it but when I tried to imitate it with a custom component I just couldn't hide the border. Alternatively, Is there a better way to use this outline design instead of just implementing it with CSS? My current component looks liks this: <div style