表单边框缺一角效果 如需想要这种效果,不使用div,可直接使用标签 <fieldset> <legend>姓名</legend> <input type="text" placeholder="请输入..." /> </fieldset>