前端优化

一、页面js,style复用,命名规范 二、注意标签缩进 三、将页面中的图片统一进行处理,合并,再使用style引入,获取指定图片位置中的内容 <html> <head> <style> .TCLogo { width:146px; height:36px; background-image:url(原图.png); background-attachment:fixed; background-position:-100px -87px; background-repeat:no-repeat; } ...
2017-04-24 10:43 | 阅读 1541 次 | 评论 0 条

设置背景透明组件

今天在网上搜集来的,可以设置组件透明“background-color:transparent”,已经尝试过了,可以使用
2015-12-08 21:57 | 阅读 3020 次 | 评论 0 条