input { box-sizing:border-box; width:100%; padding:6px 12px; font-size:14px; color:#555; background-color:#fff; border:1px solid #e6e6e6; border-radius:4px; outline:none; box-shadow:inset 1px 1px 2px rgba(0,0,0,0.075); } input:focus { border:1px solid #419641; box-shadow:0px 0px 3px rgba(65,150,65,0.8); } .Tips { /* width:50px; */ position:relative; } .Tips::after { content:attr(data-min) "/" attr(data-max); position:absolute; top:50%; right:1%; color:#999; transform:translate(0,-50%); }
更新时间:2021-02-22 01:06:35