tree: 0397f9f9eb1fc04505726540b69a706a5a3e2052 [path history] [tgz]
  1. example/
  2. lib/
  3. .gitignore
  4. .test_config
  5. .travis.yml
  6. analysis_options.yaml
  7. BUILD.gn
  8. CHANGELOG.md
  9. LICENSE
  10. pubspec.yaml
  11. 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.