前端
识丁
书之童子,国之志子
展开
-
js-----时间格式化、获取当前网页路径
01:时间类型转字符串代码:直接放到js中Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "...转载 2018-03-08 15:03:47 · 180 阅读 · 0 评论 -
html-----布局、图片
1:display :显示 inline:行 无width、height属性 有margin和padding属性但在高度方向不起作用 block:块 有width、height、margin、padding属性 inline-block:内联 行显示,具备块属性 2:position:对其div为块级 默认值: 定位属性top,bot...转载 2018-03-08 15:58:26 · 1982 阅读 · 0 评论