2

I'm having some problems with Zen Coding CSS in Sublime Text 2. I've installed Zen Coding on Sublime Text 2 via Package Control and I'm trying to use css abbreviations.

If I write "h" + Tab in a .html file, between () I get a "height: ;" as I was expected but if I do the same thing in a .css file I get "h1" which is not what I expected from Zen Coding.

The same thing happens with all CSS abbreviations. W + TAB, BG + TAB, none of those work properly.

Any help will be much appreciated.

Thanks

4

1 回答 1

1

Sublime Text 2 使用 TextMate 片段,所以你可以使用这个: http ://code.google.com/p/zen-coding/downloads/detail?name=TextMate.Zen.CSS.1.3.1.zip

只需提取.tmbundle文件并将其移动到您的包文件夹即可。

于 2012-02-22T21:38:21.483 回答