var html = @"<p style='color: rgb(255 122 127 / 80%)'>Text</p>"; var parser = new HtmlParser(new HtmlParserOptions(), BrowsingContext.New(Configuration.Default.WithCss(new CssParserOptions()))); var dom = parser.ParseDocument(html); var p = dom.QuerySelector("p"); var s = p.GetStyle(); var color = s.GetColor(); // -> ""
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4