摘要:
body, dl, dd, h1, h2, h3, h4, h5, h6, p, form{margin:0;} ol,ul{margin:0; padding:0;} table { border-collapse: collapse; border-spacing: 0; } caption, 阅读全文
随笔档案-2016年02月
精准定位
2016-02-25 10:55 by 孤独大兔子, 340 阅读, 收藏, 编辑
摘要:
//精准去词定位 function LookMatch() { } LookMatch.init = function(seach, els) { var that = new LookMatch(); that._setElement(seach, els); } LookMatch.initma 阅读全文
background-clip,background-origin
2016-02-05 19:20 by 孤独大兔子, 246 阅读, 收藏, 编辑
摘要:
开门见山,简单来说 background-origin定义了background的绘制区域(就是从什么地方开始绘制),三个属性 padding-box 背景图像相对于内边距框来绘制border-box 背景图像相对于边框盒来绘制content-box 背景图像相对于内容框来绘制 background 阅读全文