input { width: calc(100% - 8px); /* 8px to account for the default padding and border */ }