一个简单的输入框移入后显示下拉列表

因为工作以后,一直做Js,所以css只能是练习。哈哈 这个下拉列表,的宽度是固定的最好,如果不是固定的很难看的,所以最好有输入字体的限制。 .test {width: 310px;margin-left: auto;margin-right:auto;position: relative;} .test input{width: 300px;height: 30px;margin-t
相关文章
相关标签/搜索