The original box model behavior was eventually considered unintuitive, so a new CSS property called box-sizing was created. The box model follows these principles: Use the :focus selector to do something with the input field when it gets focus: If you want an icon inside the input, use the background-image property and So, Today I am sharing a Custom HTML CSS Select Option Design. Instead I used the following CSS, where content-box was changed to border-box: input, select { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } Share. Set width with CSS. The width will be the value of the size attribute in characters that the input will display. Il y en aura probablement une en CSS niveau 3. Topic: HTML / CSS Prev|Next. 또는 태그 밑에