将数据传递到ASP.net中的CSS文件 [英] pass data to css file in ASP.net

查看:83
本文介绍了将数据传递到ASP.net中的CSS文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net中有一个Web项目.它包含app_Theme文件夹和扩展名为* .css和* .skin的主题文件.在所有* .css文件中,字体和颜色均设置为静态.是否可以将字体值传递给* .css文件,或者它是动态更改值的任何方法吗?请给出宝贵的建议....

I have a web project in asp.net. It contail app_Theme folder and theme files having the extensions *.css and *.skin. in all *.css file the font and colors are set as static. is it possible to pass a font value to *.css file or is it any method for dynamically change the values? Please give the valuable suggestions....

推荐答案

一个选项是 .Less [ ^ ].这也是CP所使用的.参见 tweet [ CP [
One option is .Less[^]. This is what CP also uses. See tweet [^]from Chris.

Another way is described in this article on CP[^].

Infact, there can be other implementations as well.



这篇关于将数据传递到ASP.net中的CSS文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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