JavaScript
pdsgr1996
前端练成中
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
简单关于原型链学习总结
简单的关于原型链转载 2017-06-01 21:24:58 · 308 阅读 · 0 评论 -
原型继承方法记录
// PrimaryStudent构造函数: function PrimaryStudent(props) { Student.call(this, props); this.grade = props.grade || 1; }// 空函数F: function F() { }// 把F的原型指向Student.prototype: F.prototype = Student.pr转载 2017-06-04 16:33:47 · 275 阅读 · 0 评论 -
手机端页面获取手机宽度自适应
在编写手机端页面时经常会遇到自适应宽度的问题,没找到很好的回答,在学习github时发现了个不错的代码 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" /> 在原创 2017-07-04 10:45:20 · 665 阅读 · 0 评论
分享