.demo { width:462px; margin:30px auto 28px auto; height:62px; position:relative; } input { width:58px; height:58px; display:inline-block; float:left; margin-left:10px; outline:none; text-align:center; line-height:58px; font-size:35px; font-weight:800; border:1px solid #dddddd; } .border { border:1px solid #ff7400!important; }