Could someone help me achieve an input box like the one shown in the image below?
https://i.stack.imgur.com/XtVNj.png
Since I am new to CSS, I am not sure how to put text inside the border of an input box. Should I style the input directly or create a div with a border and place the text inside that?
Here is my current attempt, although I know it's not ideal:
input {
display:block;
width:100%;
margin:10px 0;
padding:10px;
}
I have tried this but the text doesn't wrap within the border. Any suggestions would be greatly appreciated.