Clone this repo:
  1. 6f35da3 Merge pull request #137 from mit-mit/lic by Michael Thomsen · 3 weeks ago master
  2. 2a9821f Prep for publishing by Michael Thomsen · 3 weeks ago
  3. d8a61ff Review feedback by Michael Thomsen · 3 weeks ago
  4. 8be3765 Add third_party test files by Michael Thomsen · 5 weeks ago
  5. 237ac9b Rename test by Michael Thomsen · 5 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.