如何导入/包含在“封闭样式表"中? [英] How to import/include in Closure Stylesheet?

查看:59
本文介绍了如何导入/包含在“封闭样式表"中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读此页面 http://code.google.com/p/closure-stylesheets/,我似乎找不到任何说明如何包含或导入另一个 .gss 文件的文档.这可能吗?

Reading this page http://code.google.com/p/closure-stylesheets/, I can't seem to find any documentation explaining how to include or import another .gss files. Is this possible?

推荐答案

我从没使用过 .gss ,也没有测试以下内容,但是仅仅看一下页面上的文档似乎意味着对我来说,包括多个将是:

I've never used .gss nor have I tested the following, but just looking at the documentation on the page seems to imply to me that including multiple ones would just be:

java -jar closure-stylesheets.jar --pretty-print first.gss
java -jar closure-stylesheets.jar --pretty-print second.gss

尽管使用页面上注明的缩小技术似乎也更简单:

Though it also appears to be simpler to use the minification technique noted on the page:

java -jar closure-stylesheets.jar first.gss second.gss third.gss

尝试在您的网站上使用这两种技术中的一种或两种,以查看是否可以解决您的问题.

Try either or both those techniques on your site and see if it solves your question.

这篇关于如何导入/包含在“封闭样式表"中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆