Clone this repo:
  1. 5d0997f Travis: merge test tasks, use Chrome instead of firefox (#103) by Kevin Moore · 4 months ago master
  2. bf372d4 Enforce and fix prefer_typing_uninitialized_variables (#100) by Nate Bosch · 6 months ago
  3. 75a88e8 Use explicit dynamic over void return types (#99) by Nate Bosch · 6 months ago
  4. c9528fc Add return types and remove local variable types (#98) by Nate Bosch · 7 months ago
  5. ec823a5 Fix a number of lints, disable a couple of lints that cannot be easily fixed (#97) by Kevin Moore · 7 months 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.