[英]Zen coding support for CSS in Web Essentials 2012 for Visual Studio
i'Ve installed web essentials 2012 for VS2012. 我为VS2012安装了web essentials 2012。 But it seems it doesen't support zen coding for css??
但似乎它不支持css的zen编码? or am i missing something??
还是我错过了什么? please help.. thanks.
请帮忙..谢谢。
Web Essentials only supports ZenCoding for HTML. Web Essentials仅支持HTML的ZenCoding。 I decided to wait with the CSS implementation because of the CSS editors rich Intellisense and snippet support.
我决定等待CSS实现,因为CSS编辑器富有Intellisense和snippet支持。 They would most likely conflict with ZenCoding
他们很可能与ZenCoding发生冲突
Here's a sample to try : 这是一个尝试的示例:
h1{Good Example}#test.classname+#sibling1{div sibling1 text}+#sibling2{div sibling2 text}+h2{header2 text}+ul>li>a[href="http://stackoverflow.com"]{stackoverflow link}^li>a[href="http://codeproject.com"]{codeproject link}
Hit [TAB] Key to Expand 按[TAB]键展开
Remember to hit [tab] key after typing the sample, to expand the zen code to real HTML. 请记住在键入示例后按[tab]键,将zen代码扩展为真实HTML。
The sample above will expand to the following: 上面的示例将扩展为以下示例:
It will render in the browser to look like this: 它将在浏览器中呈现如下所示:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.