Add support for `STYLE` tag
- [ ] Add support for
STYLEtag: parsing & element matching - [ ] Replace
customStylesBuilderimplementation to use a custom class instead of Map<String, String>
The matches method is needed but an internal import is required... Which is not ideal.
import 'package:html/src/query_selector.dart';
Has there been any progress made on supporting style tags or inline styling? Even if just the most basic CSS was supported, that would be a huge help and cut out the need for a lot of styling via the customStylesBuilder.
Any updates would be greatly appreciated, thanks!
You can use a limited set of CSS statements in inline styling. STYLE tag support is not there yet.
Check this list https://github.com/daohoangson/flutter_widget_from_html/tree/master/packages/core#inline-stylings
Thanks, I was having issues which the display CSS property in an inline style. I was able to accomplish what I needed by using the customStylesBuilder to remove the style attribute and return the styling I needed.