摘要:
当请求一个页面index.html, 会依次下载以下文件: index.html b.js c.css 再次刷新页面也会更新这些文件(当文件内容并无实际更新是也会发起http请求, http返回304, 但也会发起http请求) 添加cache文件index.manifest: index.mani 阅读全文
摘要:
盒模型:从外到内——margin、border、padding、内容区 box-sizing:border-box; //设置的height\width包括padding和border,即元素内容区+padding+border=width box-sizing:content-box; //设置的 阅读全文