有C#的CSS解析器吗? [英] Is there a CSS parser for C#?

查看:155
本文介绍了有C#的CSS解析器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的程序需要将css文件解析为内存中的对象格式。

My program need to parse css files into an in-memory object format. Any advice on how this should be done ?

推荐答案

在GitHub上的ExCSS(支持CSS2.1和CSS3): https://github.com/TylerBrinks/ExCSS

ExCSS (supports CSS2.1 and CSS3) on GitHub: https://github.com/TylerBrinks/ExCSS.

以下是代码项目文章的新版本: http://www.codeproject。 com / KB / recipes / CSSParser.aspx

Which is a newer version of the code project article: http://www.codeproject.com/KB/recipes/CSSParser.aspx

这篇关于有C#的CSS解析器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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