765427457

导航

2019年10月30日 #

ES5 new 特性

摘要: https://www.jianshu.com/p/0e9d12e36f9b 引用 阅读全文

posted @ 2019-10-30 17:18 765427457 阅读(147) 评论(0) 推荐(0)

2019年10月29日 #

flex属性

摘要: flex-direction flex-wrap flex-flow justify-content align-items align-content 阅读全文

posted @ 2019-10-29 21:58 765427457 阅读(103) 评论(0) 推荐(0)

2019年10月26日 #

弹性盒子display:flex;

摘要: http://static.vgee.cn/static/index.html //预览 http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html?utm_source=tuicool //解释 阅读全文

posted @ 2019-10-26 17:29 765427457 阅读(107) 评论(0) 推荐(0)

vw,vh,rem

摘要: [css3]vw,vh ,分别设置元素宽高为设备视图宽高半分比 rem 设置字体根据视窗的百分比大小。 阅读全文

posted @ 2019-10-26 16:35 765427457 阅读(111) 评论(0) 推荐(0)

关于开发的时间管理

摘要: 开发人员每天至少会在同一地方,同一台电脑前坐上8个小时,如何更好地,更加合理地规划自己的工作时间,经验丰富的Alexander Fedorenko给大家提供了一些非常受用的法则技巧。 软件开发是非常令人兴奋的工作,经过多年的工作,你不仅可以得到相应的报酬(随着工作经验增长)还会有其他晋升的机会。大多 阅读全文

posted @ 2019-10-26 15:08 765427457 阅读(143) 评论(0) 推荐(0)

2019年10月19日 #

jquery里的attr和prop的用法注意,解决用attr移除checked选中状态失败的方法

摘要: $(":radio").removeAttr('checked'); $(":radio").attr('checked','true'); 实际问题:在使用removeAttr()移除了radio的checked属性后,使用attr()重新增加不起作用; 解决: $(":radio").remov 阅读全文

posted @ 2019-10-19 22:03 765427457 阅读(529) 评论(0) 推荐(0)

2019年10月18日 #

原生js-----------addEventListener添加事件和直接添加事件区别

摘要: 1. a. document.querySelector("#a").onclick=function() {console.log("11111")} b. document.querySelector("#a").onclick=function(){console.log("222")} 结果 阅读全文

posted @ 2019-10-18 19:49 765427457 阅读(390) 评论(0) 推荐(0)

jquery $()括号里什么情况加"",什么情况不加

摘要: 一、如果是已经声明存在的变量或者对象,就不用加引号。 比如var name=document.getElementById("name"); $(name)或者$(this)。 二、document、this、window 这些都是系统对象 可以直接使用, 所以不用加引号。 三、加引号的一般是元素标 阅读全文

posted @ 2019-10-18 19:25 765427457 阅读(410) 评论(0) 推荐(0)

2019年10月16日 #

jquery的bind跟on绑定事件的区别

摘要: jquery的bind跟on绑定事件的区别:主要是事件冒泡; jquery文档中bind和on函数绑定事件的用法: .bind(events [,eventData], handler) .on(events [,selector] [,data], handler) 从文档中可以看出,.on方法比 阅读全文

posted @ 2019-10-16 17:36 765427457 阅读(105) 评论(0) 推荐(0)

2019年9月26日 #

css3新增语义化标签和浏览器的自动补全

摘要: <p>段落1<p>段落2</p>段落3</p> //浏览器会自动补全没有闭合标签,因此不会报错, html5新增语义化标签 <header>toubu</header><nav>daohang </nav><main> <p>段落1<p>段落2</p>段落3</p>内容<article>左边</ar 阅读全文

posted @ 2019-09-26 17:49 765427457 阅读(324) 评论(0) 推荐(0)