1 min read

Google Search: c# css parser

Paul Kinlan

Paul Kinlan

Lead of Chrome DevRel

Another visitor came to my site from google with the query: "c# css parser"

I have no idea why my site was found with this search, but I might as well try and answer the question.

I did a little search on Google to see what I could find relating to a C# based CSS parser. I couldn't find anything. I am tempted to try and make one now :)

I can envisage it now.

A class for each of the CSS types, each type has a list of rules as to how they are applied, each type also has a list of attributes that are parsed from the text.

There would also be a "Finder Class" which would find all instances of a particular CSS class and then instantiate the appropriate C# class.

I might have this as a little side project now :)

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation