随笔分类 -  html

摘要:<form> 元素 HTML 表单用于收集用户输入。 HTML 表单包含表单元素。 表单元素指的是不同类型的 input 元素、复选框、单选按钮、提交按钮等等。 <input> 元素 <input type="text"> 文本输入 <input type="button> 定义按钮。 <input 阅读全文
posted @ 2016-04-21 17:00 Cutelady 阅读(195) 评论(0) 推荐(0)
摘要:1. 禁止为所有被激活的输入框添加边框 *:focus {outline: none} 2. 禁止为被激活的输入框添加边框,说明:".abc"为输入框对象自定义添加的class类命名。 .abc:focus{ outline:none } 3. 也可以自定义输入框被激活时的边框样式 .abc:foc 阅读全文
posted @ 2016-03-11 13:39 Cutelady 阅读(166) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-03-10 22:42 Cutelady 阅读(258) 评论(0) 推荐(0)