上一页 1 ··· 5 6 7 8 9
摘要: 直接上代码: input[type="radio"],input[type="checkbox"]{ -webkit-appearance: none; outline: none; } input[type="radio"]{ position: relative; width: .12rem; 阅读全文
posted @ 2017-05-27 16:32 Sun~_~ 阅读(3680) 评论(0) 推荐(0) 编辑
摘要: 事件 JavaScript有两种事件实现模式: 1, 内联模式, 2, 脚本模式。 内联模式 内联模式 : 直接在HTML标签中添加事件. //在 HTML中把事件处理函数作为属性执行JS代码 <input type="button" value="按钮" onclick="alert('hello 阅读全文
posted @ 2017-05-27 16:18 Sun~_~ 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 数组 方法 1.在数组末尾添加、删除元素 push()方法可以接收任意数量的参数,把它们逐个添加到数组的末尾,并返回修改后数组的长度。改变原数组 pop()方法则从数组末尾移除最后一个元素,减少数组的 length 值,然后返回移除的元素。改变原数组 2.在数组前端添加、删除元素 unshift() 阅读全文
posted @ 2017-05-27 15:59 Sun~_~ 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: css基础 1、 Css新建格式 Css语法: 选择符{属性名称:属性值;} 1、内部样式表(嵌套到页面中) 语法: <style type="text/css"> css语句 </style> 注:使用style标记创建样式时,最好将该标记写在<head></head>; 2、内联样式(行间样式, 阅读全文
posted @ 2017-05-27 15:43 Sun~_~ 阅读(694) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9