内部实现
<input placeholder="Filled"
class="ant-input css-dev-only-do-not-override-1b0bdye ant-input-filled"
type="text" value="">
:where(.css-dev-only-do-not-override-1b0bdye).ant-input
宽度默认是父元素的100%
重要属性
- box-sizing: border-box;
- list-style: none;
- display: inline-block;
- width: 100%;
- min-width: 0;