tree: 77919a0f101f28d3f37479027983f7691ada5ef8 [path history] [tgz]
  1. .github/
  2. example/
  3. lib/
  4. .gitignore
  5. analysis_options.yaml
  6. BUILD.gn
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
csslib/README.md

A Dart CSS parser.

Usage

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.