Clone this repo:
  1. d2666a1 Delete codereview.settings by Kevin Moore · 2 months ago master
  2. 887958d Update version for release by Leon Senft · 3 months ago 0.16.1
  3. d1793b8 fix analyzer warnings: curly braces needed by Stanislav Zhbanov · 4 months ago
  4. cbb1201 fixed expressions parsing by Stanislav Zhbanov · 4 months ago
  5. 55f7f69 Update version for release by Leon Senft · 6 months ago 0.16.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.