如何加载我的 ASSX CSS 处理程序?
我想将我的CSS代码解析为这个条件CSS解析(我希望我说得正确) http://www.conditional-css.com/usage
说明说我必须粘贴CSS 所在文件夹中的 c-css.ashx 文件。
接下来我必须在我的模板主文件中添加 @import 行???
以下是说明,您能帮我吗?
ASHX 处理程序
如果您想尝试,条件 CSS 的 C# ASSX 版本是完美的选择 在 .Net 环境中使用 Conditional-CSS,或者只有几个 您网站上的 CSS 文件。安装:
将下载的文件 (c-css.ashx) 放在您的服务器上的同一个目录中 位置作为您的 CSS 文件。
加载您在网络浏览器中上传的“c-css.ashx”文件,然后 欣赏解析后的 CSS。
包括“c-css.ashx”文件,就像您的计算机上的任何 CSS 文件一样 网页使用:@import "{path_to_}/c-css.ashx"; (或者 类似)。
I want to parse my css code into this conditional css parse (i hope ive said that correctly)
http://www.conditional-css.com/usage
The instructions say that i must paste the c-css.ashx file in the folder where the CSS resides.
Next i must add an @import line in my template master file???
below are the instructions, can you help me out?
ASHX handler
The C# ASHX version of Conditional-CSS is perfect if you wish to try
out Conditional-CSS in a .Net environment, or only have a couple of
CSS files on your site. To install:
Place the downloaded file (c-css.ashx) on your server in the same
location as your CSS files.Load the 'c-css.ashx' file you uploaded in your web-browser and
admire the parsed CSS.Include the 'c-css.ashx' file as you would any CSS file on your
web-pages using: @import "{path_to_}/c-css.ashx"; (or
similar).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 html 页面的
部分中,@import 的完成方式如下:
没有理由不能使用
来完成它任何一个:
In your
<head>
section of an html page, an @import is done like so:There's no reason why you couldn't do it with a
<link>
either: