<img src="https://pic1.zhimg.com/c53b3ff484c84cd78f1dce5390c3fd2c_b.png" data-rawwidth="398" data-rawheight="135" class="content_image" width="398">
<img src="https://pic2.zhimg.com/be058562a205f6e2e6ce947dd12de159_b.png" data-rawwidth="411" data-rawheight="102" class="content_image" width="411">
<img src="https://pic1.zhimg.com/6132ddacbf0bd474f426d1668d8ecb2c_b.png" data-rawwidth="414" data-rawheight="116" class="content_image" width="414">
.menu>ul>(li{首页$})*5 在末尾摁下tab键会出现下的结构
<img src="https://pic3.zhimg.com/2140291a048952a509ab1c51198c1bc6_b.png" data-rawwidth="304" data-rawheight="229" class="content_image" width="304">
要想有代码提示建议用DW,sublime这种手写代码其实很适合新手用。
github.com/andruhon/SublimeAllAutocomplete,前面加上http ,通过这个地址的此插件简介中建议的安装方法使用install package安装,然后找到SublimeAllAutocomplete.sublime-package打开它,修改SublimeAllAutocomplete.sublime-settings文件中的参数"apply_with_dash_hack_syntaxes"为["source.scss","source.sass","source.css","text.html"],最后将word_separators中的-去掉即可,这样在css文件中就能自动提示html文件中带连字符的类名了!欢迎分享,转载请注明来源:内存溢出
评论列表(0条)