A library for parsing and analyzing CSS (Cascading Style Sheets).
More...
A Dart CSS parser.
Parsing CSS is easy!
import 'package:csslib/parser.dart'; main() { var stylesheet = parse( '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }'); print(stylesheet.toDebugString()); }
You can pass a String or List<int> to parse.
String
List<int>
parse
tools.dart.dev
Repository (GitHub)View/report issues
#css
API reference
BSD-3-Clause (license)
source_span
Packages that depend on csslib
Back