随笔分类 - html
摘要:<form> 元素 HTML 表单用于收集用户输入。 HTML 表单包含表单元素。 表单元素指的是不同类型的 input 元素、复选框、单选按钮、提交按钮等等。 <input> 元素 <input type="text"> 文本输入 <input type="button> 定义按钮。 <input
阅读全文
摘要:1. 禁止为所有被激活的输入框添加边框 *:focus {outline: none} 2. 禁止为被激活的输入框添加边框,说明:".abc"为输入框对象自定义添加的class类命名。 .abc:focus{ outline:none } 3. 也可以自定义输入框被激活时的边框样式 .abc:foc
阅读全文
摘要:body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin: 0;padding: 0;}body {font:1
阅读全文

浙公网安备 33010602011771号