From what I can tell, the code is working fine. But if you want, you can add 8px padding so that the content has a place to place instead of being overflowed there with a border. By the way, a border radius of 2px or 4px looks better for a border, but it is up to you.
.form-box {
padding: 8px;
border-radius: 4px;
border: 1px solid red;
}
source
share