Solution #3, use calc() on the input's width
Account for the input's total size calculated by content-box by using calc(100% - 2px);
Rationale: The browser's default padding-left and padding-right are each 1px. "Width" on a content-box box sizing is width + padding-left + padding-right + border-left + border-right.
The CSS calculator can be used to dynamically compute values.
By using calc(100% - 2px), we are explicitly setting the width property to account for that extra 1px from padding-left and the additional 1px from padding-right.
View the CSS changes inside the "style" tag of solution3.html to see the code for this fix.