06 2014 档案

摘要:Function.prototype.method = function (name, func) { this.prototype[name] = func; return this;};Array.method('unshift',function(){ this.splice.apply(th... 阅读全文
posted @ 2014-06-11 16:30 丁元新 阅读(203) 评论(0) 推荐(0)
摘要:CSS中,background可以设置对象的背景样式。如颜色或者使用一张图片代替,今天我要多说两句的就是使用一张图片的参数:image。准确的来说应该是background-image。我们可以这样用它:body{ background-image: url(....jpg);} /* 也可以直接使... 阅读全文
posted @ 2014-06-06 17:34 丁元新 阅读(5039) 评论(0) 推荐(0)

Top