2024年3月22日发(作者:)
HTML 输入框input的各种样式
输入框景背景透明:
鼠标划过输入框,输入框背景色变色:
NAME="user_pass" TYPE="text" SIZE="29"
onmouseover="Color='black';oundColor='plum'"
style="width: 106; height: 21"
onmouseout="Color='black';oundColor='#fff
fff'" style="border-width:1px;border-color=black">
输入字时输入框边框闪烁(边框为小方型):
onfocus="borderColor(this);" onblur="clearTimeout(oTime);">
输入字时输入框边框闪烁(边框为虚线):
自动横向廷伸的输入框:
value="abcdefghijk">
自动向下廷伸的文本框:
只有下划线的文本框:
软件序列号式的输入框:
—
maxlength="3">—
name="T" size="5"
name="T" size="5" maxlength="3">—
name="T" size="5" maxlength="3">—
maxlength="3">—
软件序列号式的输入框(完整版):
—
maxlength="3">—
name="T" size="5"
name="T" size="5" maxlength="3">—
name="T" size="5" maxlength="3">—
maxlength="3">—


发布评论