body {
font-size: 14px;
line-height: 1.8;
background: url(bg.jpg) no-repeat center top;
font-family: "Microsoft YaHei", "微软雅黑";
font-size: 14px;
line-height: 1.8;
background: url(bg.jpg) no-repeat center top;
font-family: "Microsoft YaHei", "微软雅黑";
}
比如这段代码background的no-repeat属性刚开始不会自动提示,需要手动输入。
解决方法:
1.安装SublimeCodeIntel这个插件
2.将插件里面setting-default拷贝到setting-user里面
3.将"codeintel_selected_catalogs"改为"codeintel_selected_catalogs": ["HTML5", "HTML", "JavaScript","CSS"]即可