Clone this repo:
  1. 452a2e5 fix formatting (#115) by Kevin Moore · 3 weeks ago master
  2. 59dfef3 Fix Travis config to run sound tests (#114) by Nate Bosch · 4 weeks ago
  3. 681a660 Disable implicit casts from dynamic (#113) by Nate Bosch · 4 weeks ago
  4. cb3f940 Fix cast of nullable argument (#112) by Nate Bosch · 4 weeks ago
  5. 166d3e0 Only test on the dev SDK (#111) by Nate Bosch · 4 weeks ago

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.