摘要: require 模块化开发问题,正常自己写的模块 是exports 导出一个模块 //模块化引入jquery 不同和问题 require 引入jquery swiper .... 插件和库的时候需要 require.config({ baseUrl:"js/libs", //文件夹目录相对与html 阅读全文
posted @ 2017-06-22 22:06 当年华褪去生涩 阅读(396) 评论(0) 推荐(1) 编辑
摘要: A. 使用选择器来插入内容 h2:before{ content:"前缀"; } h2:after{ content:"后缀"; } B. 指定个别的元素不进行插入 h2.sample:before{ content:none; } 2. 插入图像 A. 在标题前插入图像文件 h2:before{ 阅读全文
posted @ 2017-06-22 07:44 当年华褪去生涩 阅读(1755) 评论(0) 推荐(0) 编辑