如何在CSS中制作动态主题 [英] how to make dynamic theme in CSS

查看:102
本文介绍了如何在CSS中制作动态主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用asp.net来建立我的网站..
请帮助我如何在CSS中创建动态主题....??

Hi,
I using asp.net to make my web site..
please help me how to make dynamic theme in CSS....??

推荐答案

CSS没有动态特性.您需要根据动态设置生成CSS.除非动态地表示,否则仅意味着要具有多个固定的主题.然后,您可以为每个主题命名CSS,并使用名称相应地设置对象的CSS类.
There is nothing dynamic about CSS. You need to generate your CSS based on your dynamic settings. Unless by dynamic you just mean having a number of set themes. Then you can name the CSS for each theme, and use names to set the CSS classes of your objects accordingly.


感谢您的回答. 我有3个主题,所以这意味着我应该为我拥有的每个主题创建.css文件?
Thanks for the answer..
I have 3 themes, so that means I should create .css file foreach theme that I have?


^ ]


这篇关于如何在CSS中制作动态主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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