Clone this repo:
  1. 55f7f69 Update version for release by Leon Senft · 8 weeks ago master 0.16.0
  2. 4afa5b4 Prevent infinite loop when parsing an invalid selector by Leon Senft · 8 weeks ago
  3. b3dc97f Remove support for shadow-piercing combinators by Leon Senft · 8 weeks ago
  4. dcedb11 Fix readme by Kevin Moore · 10 weeks ago
  5. c6ae3a8 prepare to publish by Kevin Moore · 10 weeks ago 0.15.0

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.