js如何让input文字框向下移动指定距离
1、新建一个html文件,命名为test.html,用于讲解js如何让input文字框向下移动指定距离 。

3、在test.html文件内,设置input标签的id属性为wthree。

5、在js标签内,通过id获得input对象,使用margin-top属性让input向下移动40px。

1、新建一个html文件,命名为test.html,用于讲解js如何让input文字框向下移动指定距离 。
3、在test.html文件内,设置input标签的id属性为wthree。
5、在js标签内,通过id获得input对象,使用margin-top属性让input向下移动40px。