Clone this repo:
  1. e57255e Fix updated lints (#133) by Kevin Moore · 2 days ago master
  2. 54a5528 Dart format with latest SDK (#132) by Kevin Moore · 3 weeks ago
  3. f9f460f Fix unneeded imports (#131) by Kevin Moore · 2 months ago
  4. 341e7b2 Latest CI setup, test on oldest supported SDK (#130) by Kevin Moore · 3 months ago
  5. 2126592 Merge pull request #129 from dart-lang/franklinyow-patch-1 by Franklin Yow · 4 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.