时间:2024-10-13 09:36:14
1、新建一个小程序用作演示
2、声明一个input
3、设置输入框的样式
4、可以看到声明好的input
5、添加背景图片,并用background-position-y属性
6、然后背景图片就居中了